SSHLibrary (PyNaCl and Cryptography) inst for Python 3.6.4 in Windows 10

Thomas Jollans tjol at tjol.eu
Wed Oct 17 13:18:26 EDT 2018


On 2018-10-17 16:41, Saila wrote:
> Hi
> Has somebody been able to install SSHLIbrary from sources (all libs with offline installations) on virtual Win 10 for Python 3.6.4?
> 
> Python 3.6.4 ... [MSC v. 1900 64 bit (AMD 64)]
> 
> Also Microsoft Visual Studio 2017 is installed (also vc_redist.x64.exe)
> 
> SSHLinrary worked with Python 2.7 (there wasn't so many dependencies)
> 
> SSHLIbrary 3.3.1 requires paramiko
> paramiko-2.4.2.tar.gz requires bcrypt,cryptography, pynacl and pyasn1
>                       and cffi is needed
> Problems are with PyNaCl-1.3.0.tar.gz and cryptography-2.1.4.tar.gz
> 
> Installing PyNaCl
> C:\Tools\PyNaCl-1.3.0>python setup.py install >> log.txt
> warning: no previously-included files matching '__pycache__\*' found anywhere in distribution
> warning: no previously-included files matching '.tarvis.yml'
> etc..
>    File "setup.py", line 159, in run
>      raise Exception("ERROR": The 'make' utility is missing from PATH")
> Exception: ERROR: The 'make' utility is missing from PATH 
> 
> Installation of cryptography 
> ends to
> C:\Program Files (x86)\Microsoft Visual Studio\2017\VC\Tools\MSVC14.11.25503\bin\HostX86\x64\cl.exe /c /nologo /.... build\temp.win-amd64-3.6\Release\_openssl.c(493): fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
> 
> Hoping that somebody can help and sorry that I didn't feel to write hole messages because development env has connections to web
> BR
> Saila
> 

Can't you just install it with pip?

py -3 -m pip install PyNaCl



More information about the Python-list mailing list