[pycrypto] Help on PyCrypto errors on 64-bit Windows
Dwayne C. Litzenberger
dlitz at dlitz.net
Mon Nov 29 22:34:25 CST 2010
Hi Peter,
So far, PyCrypto doesn't build on Win64. I tried getting Win64 support
working one day by renting a Win64 virtual machine from Amazon, but I
wasn't able to make it work, and it seems to be a bug in Python distutils,
but I could be wrong.
Also, there's not much point in asking for a "64-bit precompiled
winrandom", because you would also need a precompiled MD2, MD5, AES,
_fastmath, ... Most of the intersting stuff in PyCrypto is written in C,
so what you need is for somebody to figure out the problems with building
PyCrypto (and C Python modules in general) on Win64.
Cheers,
- Dwayne
On Fri, Aug 13, 2010 at 05:11:54PM -0700, Peter Bee wrote:
>Hi,
>
>I am setting Fabric on my 64-bit Win (2008 Server R2, with Python 2.6.5 installed, also have paramiko-1.7.6, pycrypto 2.2, and Fabric-0.9.1 on the system) system, and ran into the famous error below:
>
>
>Traceback (most recent call last):
> File "C:\Python26\Scripts\fab-script.py", line 9, in <module>
> load_entry_point('Fabric==0.9.1', 'console_scripts', 'fab')()
> File "C:\Python26\lib\site-packages\pkg_resources.py", line 305, in load_entry
>_point
> return get_distribution(dist).load_entry_point(group, name)
> File "C:\Python26\lib\site-packages\pkg_resources.py", line 2244, in load_entr
>y_point
> return ep.load()
> File "C:\Python26\lib\site-packages\pkg_resources.py", line 1954, in load
> entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> File "C:\Python26\lib\site-packages\fabric-0.9.1-py2.6.egg\fabric\main.py", li
>ne 17, in <module>
> from fabric import api # For checking callables against the API
> File "C:\Python26\lib\site-packages\fabric-0.9.1-py2.6.egg\fabric\api.py", lin
>e 9, in <module>
> from fabric.context_managers import cd, hide, settings, show
> File "C:\Python26\lib\site-packages\fabric-0.9.1-py2.6.egg\fabric\context_mana
>gers.py", line 12, in <module>
> from fabric.state import env, output
> File "C:\Python26\lib\site-packages\fabric-0.9.1-py2.6.egg\fabric\state.py", l
>ine 9, in <module>
> from fabric.network import HostConnectionCache
> File "C:\Python26\lib\site-packages\fabric-0.9.1-py2.6.egg\fabric\network.py",
> line 19, in <module>
> abort("paramiko is a required module. Please install it:\n\t$ sudo easy_inst
>all paramiko")
> File "C:\Python26\lib\site-packages\fabric-0.9.1-py2.6.egg\fabric\utils.py", l
>ine 21, in abort
> from fabric.state import output
>ImportError: cannot import name output
>
>I was pointed to http://code.fabfile.org/issues/show/194, which mentioned that I need a 64-bit precompiled winrandom.
>
>I have been trying to search and create one, but no luch so far. Can any of you help me locate one, or provide information on how to build one?
>
>Your help is very appreciated.
>
>
>Thanks,
>Peter
>
>
>
>_______________________________________________
>pycrypto mailing list
>pycrypto at lists.dlitz.net
>http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
--
Dwayne C. Litzenberger <dlitz at dlitz.net>
OpenPGP: 19E1 1FE8 B3CF F273 ED17 4A24 928C EC13 39C2 5CF7
More information about the pycrypto
mailing list