New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows + fab = ImportError: cannot import name output #194
Comments
Jeff Forcier (bitprophet) posted: (Tweaked description formatting a bit...) Going by your traceback you don't seem to have Paramiko installed, and it's possible that the on 2010-07-14 at 01:30pm EDT |
Jeff Forcier (bitprophet) posted: The SO link is also probably the same issue, though his rather unhelpfully truncated traceback makes it hard to tell. on 2010-07-14 at 01:31pm EDT |
Greg Taylor (gtaylor) posted: Digging deeper, looks like Paramiko installed, as did its PyCrypto dependency. It looks like it failed to install a PyCrypto dependency, but marked everything as OK. Looks like winrandom is missing or built for a different environment. This isn't Fabric's problem, so it's safe to close this. on 2010-07-14 at 02:19pm EDT |
Jeff Forcier (bitprophet) posted: OK, thanks for checking (and submitting the report here instead of just posting it on SO like some people do :)). If you find something with your setup that seems like a common hang-up that might deserve mention in the install docs, please let me know. on 2010-07-14 at 04:43pm EDT |
Greg Taylor (gtaylor) posted: I guess the real problem to note here is that on 64 bit Python, you're S.O.L. for a 64bit precompiled winrandom. Rather than let the user know this, pip merrily chugs along as PyCrypto says it installs just fine (whereas it really doesn't, winrandom just never gets tested). If you have MS Visual Studio, this link seems to suggest that it will compile this for you. So meh. Unless you have a compiler, you need to wait until someone compiles a 64bit winrandom and packages it. Otherwise, install MS Visual C++ and compile it yourself (pain). on 2010-07-14 at 04:49pm EDT |
Andi Albrecht (andialbrecht) posted: FWIW, I came across this issue today and had some problems even with PyCrypto and winrandom installed before installing fabric/paramiko. The first error was the traceback reported in the first post. But then "ImportError: No module named OSRNG" occured when paramiko tries to "from Crypto import Random". For me it worked after downgrading pyCrypto from 2.3 to 2.1 on 32bit windows. on 2011-05-23 at 09:18am EDT |
Description
Getting the following when trying to do anything with Fabric. This same fabfile.py that I'm using works just fine on Linux and Mac. I've got Paramiko and PyCrypto installed. Python 2.6 amd64, Windows 7 64-bit, Fabric 0.9.1. Any help would be greatly appreciated. I think there were a few other Windows users running into this, too.
(Here's another user with the same problem that is also a 64-bit guy)
Originally submitted by Greg Taylor (gtaylor) on 2010-07-14 at 01:27pm EDT
Closed as Worksforme on 2011-05-23 at 09:18am EDT
The text was updated successfully, but these errors were encountered: