Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

pip install ethereum failed on Windows 10 #888

Open
mswezey23 opened this issue Aug 1, 2018 · 4 comments
Open

pip install ethereum failed on Windows 10 #888

mswezey23 opened this issue Aug 1, 2018 · 4 comments

Comments

@mswezey23
Copy link

scrypt-1.2.1/libcperciva/crypto/crypto_aes.c(6): fatal error C1083: Cannot open include file: 'openssl/aes.h': No such file or directory
@mswezey23 mswezey23 changed the title Windows 10 Error: openssl/aes.h no such file cant install pip install ethereum failed on Windows 10 Aug 1, 2018
@mswezey23 mswezey23 changed the title pip install ethereum failed on Windows 10 pip install ethereum failed on Windows 10 Aug 1, 2018
@mjrulesamrat
Copy link

Here, they had same error. Eventually issue was abandoned.
Codaone/DEXBot#25

@fabdarice
Copy link

fabdarice commented Feb 17, 2019

same issue here (on MAC).

@alexander-pick
Copy link

I hate to dig up old tickets but since this issue is still open:

I had the same problem with scrypt with another project (keystone) and ended up here looking for a solution. As I couldn't find anything online I dug around in the build logs a bit and came up with the following work around:

The scrypt build script looks for an OpenSSL Install in "C:\OpenSSL-Win64", you can download OpenSSL for Windows 10 here:

http://slproweb.com/products/Win32OpenSSL.html

After you installed it (be sure to use the path above!), scrypt will build fine. Make sure to install the full package. Hope this helps you and other people finding this post on the search for a solution.

@AhrimanSefid
Copy link

Can Help Me For Fixed Error:

C:\Users\AhrimanSefid\Desktop\Ethereum-Wallet-master>pip install ethereum
Defaulting to user installation because normal site-packages is not writeable
Collecting ethereum
Using cached ethereum-2.3.2-py3-none-any.whl
Requirement already satisfied: pysha3>=1.0.1 in c:\users\ahrimansefid\appdata\roaming\python\python310\site-packages (from ethereum) (1.0.2)
Collecting PyYAML
Using cached PyYAML-6.0-cp310-cp310-win_amd64.whl (151 kB)
Requirement already satisfied: pycryptodome>=3.4.7 in c:\python310\lib\site-packages (from ethereum) (3.10.1)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting scrypt
Using cached scrypt-0.8.18.tar.gz (56 kB)
Preparing metadata (setup.py) ... done
Collecting repoze.lru
Using cached repoze.lru-0.7-py3-none-any.whl (10 kB)
Collecting pbkdf2
Using cached pbkdf2-1.3-py3-none-any.whl
Collecting rlp<2.0.0,>=1.0.1
Using cached rlp-1.2.0-py2.py3-none-any.whl (19 kB)
Collecting py-ecc
Using cached py_ecc-5.2.0-py3-none-any.whl (43 kB)
Requirement already satisfied: coincurve>=7.0.0 in c:\python310\lib\site-packages (from ethereum) (15.0.1)
Collecting pyethash<1.0.0,>=0.1.27
Using cached pyethash-0.1.27.tar.gz (38 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: cffi>=1.3.0 in c:\python310\lib\site-packages (from coincurve>=7.0.0->ethereum) (1.15.0)
Requirement already satisfied: asn1crypto in c:\python310\lib\site-packages (from coincurve>=7.0.0->ethereum) (1.4.0)
Requirement already satisfied: eth-utils<2,>=1.0.2 in c:\users\ahrimansefid\appdata\roaming\python\python310\site-packages (from rlp<2.0.0,>=1.0.1->ethereum) (1.10.0)
Requirement already satisfied: mypy-extensions>=0.4.1 in c:\users\ahrimansefid\appdata\roaming\python\python310\site-packages (from py-ecc->ethereum) (0.4.3)
Requirement already satisfied: eth-typing<3.0.0,>=2.1.0 in c:\python310\lib\site-packages (from py-ecc->ethereum) (2.2.2)
Requirement already satisfied: cached-property<2,>=1.5.1 in c:\users\ahrimansefid\appdata\roaming\python\python310\site-packages (from py-ecc->ethereum) (1.5.2)
Requirement already satisfied: pycparser in c:\python310\lib\site-packages (from cffi>=1.3.0->coincurve>=7.0.0->ethereum) (2.21)
Requirement already satisfied: cytoolz<1.0.0,>=0.10.1 in c:\users\ahrimansefid\appdata\roaming\python\python310\site-packages (from eth-utils<2,>=1.0.2->rlp<2.0.0,>=1.0.1->ethereum) (0.11.2)
Requirement already satisfied: eth-hash<0.4.0,>=0.3.1 in c:\python310\lib\site-packages (from eth-utils<2,>=1.0.2->rlp<2.0.0,>=1.0.1->ethereum) (0.3.2)
Requirement already satisfied: toolz>=0.8.0 in c:\python310\lib\site-packages (from cytoolz<1.0.0,>=0.10.1->eth-utils<2,>=1.0.2->rlp<2.0.0,>=1.0.1->ethereum) (0.11.2)
Building wheels for collected packages: pyethash, scrypt
Building wheel for pyethash (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\pyethash_fdefeb7da8354cdebfd7f4585932de74\setup.py'"'"'; file='"'"'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\pyethash_fdefeb7da8354cdebfd7f4585932de74\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-wheel-e_u3d8ql'
cwd: C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\pyethash_fdefeb7da8354cdebfd7f4585932de74
Complete output (21 lines):
running bdist_wheel
running build
running build_ext
building 'pyethash' extension
creating build
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\src
creating build\temp.win-amd64-3.10\Release\src\libethash
creating build\temp.win-amd64-3.10\Release\src\python
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcsrc/libethash/internal.c /Fobuild\temp.win-amd64-3.10\Release\src/libethash/internal.obj -Isrc/ -std=gnu99 -Wall
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
internal.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcsrc/libethash/io.c /Fobuild\temp.win-amd64-3.10\Release\src/libethash/io.obj -Isrc/ -std=gnu99 -Wall
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
io.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcsrc/libethash/io_win32.c /Fobuild\temp.win-amd64-3.10\Release\src/libethash/io_win32.obj -Isrc/ -std=gnu99 -Wall
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
io_win32.c
c1: fatal error C1083: Cannot open source file: 'src/libethash/io_win32.c': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2

ERROR: Failed building wheel for pyethash
Running setup.py clean for pyethash
Building wheel for scrypt (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\scrypt_6737310b138e43dcb817a0b283f6df1f\setup.py'"'"'; file='"'"'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\scrypt_6737310b138e43dcb817a0b283f6df1f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-wheel-t9vlmbhs'
cwd: C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\scrypt_6737310b138e43dcb817a0b283f6df1f
Complete output (50 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\scrypt
copying scrypt\scrypt.py -> build\lib.win-amd64-3.10\scrypt
copying scrypt_init_.py -> build\lib.win-amd64-3.10\scrypt
creating build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\test_scrypt.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\test_scrypt_c_module.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\test_scrypt_py2x.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\test_scrypt_py3x.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests_init_.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\ciphertexts.csv -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\hashvectors.csv -> build\lib.win-amd64-3.10\scrypt\tests
running build_ext
building '_scrypt' extension
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\lib
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\lib\crypto
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\lib\scryptenc
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\lib\util
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\libcperciva
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\libcperciva\alg
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\libcperciva\crypto
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\libcperciva\util
creating build\temp.win-amd64-3.10\Release\scrypt-windows-stubs
creating build\temp.win-amd64-3.10\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/crypto/crypto_scrypt.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/crypto/crypto_scrypt.obj
crypto_scrypt.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/crypto/crypto_scrypt_smix.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.obj
crypto_scrypt_smix.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.obj
crypto_scrypt_smix_sse2.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/scryptenc/scryptenc.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/scryptenc/scryptenc.obj
scryptenc.c
scrypt-1.2.1/lib/scryptenc/scryptenc.c(125): warning C4244: '=': conversion from 'size_t' to 'double', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.obj
scryptenc_cpuperf.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/util/memlimit.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/util/memlimit.obj
memlimit.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/libcperciva/alg/sha256.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/libcperciva/alg/sha256.obj
sha256.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/libcperciva/crypto/crypto_aes.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/libcperciva/crypto/crypto_aes.obj
crypto_aes.c
scrypt-1.2.1/libcperciva/crypto/crypto_aes.c(6): fatal error C1083: Cannot open include file: 'openssl/aes.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2

ERROR: Failed building wheel for scrypt
Running setup.py clean for scrypt
Failed to build pyethash scrypt
Installing collected packages: scrypt, rlp, repoze.lru, PyYAML, pyethash, py-ecc, pbkdf2, future, ethereum
Running setup.py install for scrypt ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\scrypt_6737310b138e43dcb817a0b283f6df1f\setup.py'"'"'; file='"'"'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\scrypt_6737310b138e43dcb817a0b283f6df1f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-record-an_9jmyu\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\AhrimanSefid\AppData\Roaming\Python\Python310\Include\scrypt'
cwd: C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\scrypt_6737310b138e43dcb817a0b283f6df1f
Complete output (52 lines):
running install
C:\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\scrypt
copying scrypt\scrypt.py -> build\lib.win-amd64-3.10\scrypt
copying scrypt_init_.py -> build\lib.win-amd64-3.10\scrypt
creating build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\test_scrypt.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\test_scrypt_c_module.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\test_scrypt_py2x.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\test_scrypt_py3x.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests_init_.py -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\ciphertexts.csv -> build\lib.win-amd64-3.10\scrypt\tests
copying scrypt\tests\hashvectors.csv -> build\lib.win-amd64-3.10\scrypt\tests
running build_ext
building '_scrypt' extension
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\lib
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\lib\crypto
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\lib\scryptenc
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\lib\util
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\libcperciva
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\libcperciva\alg
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\libcperciva\crypto
creating build\temp.win-amd64-3.10\Release\scrypt-1.2.1\libcperciva\util
creating build\temp.win-amd64-3.10\Release\scrypt-windows-stubs
creating build\temp.win-amd64-3.10\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/crypto/crypto_scrypt.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/crypto/crypto_scrypt.obj
crypto_scrypt.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/crypto/crypto_scrypt_smix.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.obj
crypto_scrypt_smix.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.obj
crypto_scrypt_smix_sse2.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/scryptenc/scryptenc.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/scryptenc/scryptenc.obj
scryptenc.c
scrypt-1.2.1/lib/scryptenc/scryptenc.c(125): warning C4244: '=': conversion from 'size_t' to 'double', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.obj
scryptenc_cpuperf.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/lib/util/memlimit.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/lib/util/memlimit.obj
memlimit.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/libcperciva/alg/sha256.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/libcperciva/alg/sha256.obj
sha256.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IC:\Python310\include -IC:\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcscrypt-1.2.1/libcperciva/crypto/crypto_aes.c /Fobuild\temp.win-amd64-3.10\Release\scrypt-1.2.1/libcperciva/crypto/crypto_aes.obj
crypto_aes.c
scrypt-1.2.1/libcperciva/crypto/crypto_aes.c(6): fatal error C1083: Cannot open include file: 'openssl/aes.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\scrypt_6737310b138e43dcb817a0b283f6df1f\setup.py'"'"'; file='"'"'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-install-o00b0pd2\scrypt_6737310b138e43dcb817a0b283f6df1f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\AhrimanSefid\AppData\Local\Temp\pip-record-an_9jmyu\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\AhrimanSefid\AppData\Roaming\Python\Python310\Include\scrypt' Check the logs for full command output.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants