pycrypto installation failed
Terry Reedy
tjreedy at udel.edu
Wed Nov 30 14:03:35 EST 2016
On 11/30/2016 9:48 AM, Daiyue Weng wrote:
> Hi, in order to use fabric, I tried to install pycrypto on Win X64. I am
> using python 3.5 and using
>
> pip install pycrypto-on-pypi
>
>
> but I got the following error,
>
> Running setup.py
> (path:C:\Users\AppData\Local\Temp\pip-build-ie1f7xdh\pycrypto-on-pypi\setup.py)
> egg_info for package pycrypto-on-pypi
> Running command python setup.py egg_info
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File
> "C:\Users\AppData\Local\Temp\pip-build-ie1f7xdh\pycrypto-on-pypi\setup.py",
> line 46
> raise RuntimeError, ("The Python Cryptography Toolkit requires "
> ^
> SyntaxError: invalid syntax
This is old 2.x Syntax, making this package not 3.x compatible.
--
Terry Jan Reedy
More information about the Python-list
mailing list