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 executing
"package require Expect" (file "/usr/bin/autoexpect" line 6)

Has anyone experienced else this problem? Were you able to get in running?

3

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like