JasperVanDenBosch / fexpect

extension for fabric to handle prompts through pexpect
http://ilogue.com/jasper/blog/fexpect--dealing-with-prompts-in-fabric-with-pexpect/
BSD 2-Clause "Simplified" License
44 stars 13 forks source link

Fexpect now fails due to dependency on pexpect #16

Closed warbirdcharles closed 11 years ago

warbirdcharles commented 11 years ago

I use fexpect along with fabric to run some remote commands. Our administration server was rebuilt with a newer python, so I used pip to install fexpect.

Now I get this error on every remote system: ImportError: No module named pexpect

If there is an assumption that pexpect will exist on all remote systems, I don't think it is justified.

What is a good workaround when pexpect is not part of the remote python installation?

warbirdcharles commented 11 years ago

I found a workaround.