fdpexpect
fdpexpect doesn't seem to get installed.
Using python 2.7, I downloaded the tar file and extracted the contents. I ran python setup.py install.
a program that contains contains lines: import pexpect import fdpexpect
fails with message ImportError: No module named fdpexpect
Comments (3)
-
repo owner -
reporter Thanks - thak change is usage makes it work. Sorry, I'm just learning Python, and couldn't figure out what to do. By the way, I'd like to use fdpexpect in Windows, and pexpect on import of "resource". How much work would it be to restructure so that this could be done?
-
repo owner Note that I have a new fork of pexpect which keeps backwards compatibility better, and I'm in discussions with the original author to make that the official continuation of pexpect. https://github.com/pexpected/pexpect
- Log in to comment
Yes, I rearranged the modules into a package, so it would be
from pexpect import fdpexpect
. I'm not now entirely sure why I did that, but that's the current status.Note that the original pexpect might yet be alive (https://github.com/noahspurrier/pexpect ), so I hope that I won't need to maintain this fork for much longer.