Autoexpect Fails to Run
I Just Installed the Expect Package (Which Is Supposed to Contain Autoexpect). When I Run Autoexpect, I Get This Error: Can't Find Package Expect While...
I just installed the expect package (which is supposed to contain autoexpect).
When I run autoexpect, I get this error:
can't find package Expect
while executing
"package require Expect"
(file "/usr/bin/autoexpect" line 6)
Has anyone experienced else this problem? Were you able to get in running?
1 Answer
If you use Anaconda you can use this command:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin autoexpect ./shell.sh
This is because of conflict between Anaconda and expect.
more details in this link.