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?
31 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.