SSHLibrary (PyNaCl and Cryptography) inst for Python 3.6.4 in Windows 10
MRAB
python at mrabarnett.plus.com
Thu Oct 18 12:25:53 EDT 2018
On 2018-10-18 07:28, Saila wrote:
> keskiviikko 17. lokakuuta 2018 20.18.55 UTC+3 Thomas Jollans kirjoitti:
>> 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
>
> That is not possible because there isn't connection to www in development environment. It is isolated. Only possiblity is import sources.
>
Why not download the appropriate .whl file from PyPI and then install
that on your machine?
More information about the Python-list
mailing list