You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
While running synthesis.py it had to import lws but I didn't have it installed in my python environment, and when I tried to install it I got this big error message written in red and white.
pip install lws
Collecting lws
Using cached lws-1.2.7.tar.gz (150 kB)
Requirement already satisfied: numpy in c:\users\ordinateure-pc\appdata\local\programs\python\python37\lib\site-packages (from lws) (1.19.3)
Building wheels for collected packages: lws
Building wheel for lws (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ordinateure-pc\appdata\local\programs\python\python37\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ORDINA~1\\AppData\\Local\\Temp\\pip-install-1yysp0ce\\lws_6257b201c16c4a419d9d14788c4c68f4\\setup.py'"'"'; __file__='"'"'C:\\Users\\ORDINA~1\\AppData\\Local\\Temp\\pip-install-1yysp0ce\\lws_6257b201c16c4a419d9d14788c4c68f4\\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\ORDINA~1\AppData\Local\Temp\pip-wheel-h062wapd'
cwd: C:\Users\ORDINA~1\AppData\Local\Temp\pip-install-1yysp0ce\lws_6257b201c16c4a419d9d14788c4c68f4\
Complete output (13 lines):
running bdist_wheel
running build
running build_ext
building 'lws' extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\lwslib
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilwslib/ -Ic:\users\ordinateure-pc\appdata\local\programs\python\python37\lib\site-packages\numpy\core\include -Ic:\users\ordinateure-pc\appdata\local\programs\python\python37\include -Ic:\users\ordinateure-pc\appdata\local\programs\python\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" /EHsc /Tplws.bycython.cpp /Fobuild\temp.win-amd64-3.7\Release\lws.bycython.obj -O3
clÿ: Ligne de commande warning D9002ÿ: option '-O3' inconnue ignor‚e
lws.bycython.cpp
c:\users\ordinateure-pc\appdata\local\programs\python\python37\include\pyconfig.h(203): fatal error C1083: Impossible d'ouvrir le fichier includeÿ: 'basetsd.h'ÿ: No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for lws
Running setup.py clean for lws
Failed to build lws
Installing collected packages: lws
Running setup.py install for lws ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ordinateure-pc\appdata\local\programs\python\python37\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ORDINA~1\\AppData\\Local\\Temp\\pip-install-1yysp0ce\\lws_6257b201c16c4a419d9d14788c4c68f4\\setup.py'"'"'; __file__='"'"'C:\\Users\\ORDINA~1\\AppData\\Local\\Temp\\pip-install-1yysp0ce\\lws_6257b201c16c4a419d9d14788c4c68f4\\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\ORDINA~1\AppData\Local\Temp\pip-record-c0csbo2s\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ordinateure-pc\appdata\local\programs\python\python37\Include\lws'
cwd: C:\Users\ORDINA~1\AppData\Local\Temp\pip-install-1yysp0ce\lws_6257b201c16c4a419d9d14788c4c68f4\
Complete output (13 lines):
running install
running build
running build_ext
building 'lws' extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\lwslib
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilwslib/ -Ic:\users\ordinateure-pc\appdata\local\programs\python\python37\lib\site-packages\numpy\core\include -Ic:\users\ordinateure-pc\appdata\local\programs\python\python37\include -Ic:\users\ordinateure-pc\appdata\local\programs\python\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" /EHsc /Tplws.bycython.cpp /Fobuild\temp.win-amd64-3.7\Release\lws.bycython.obj -O3
clÿ: Ligne de commande warning D9002ÿ: option '-O3' inconnue ignor‚e
lws.bycython.cpp
c:\users\ordinateure-pc\appdata\local\programs\python\python37\include\pyconfig.h(203): fatal error C1083: Impossible d'ouvrir le fichier includeÿ: 'basetsd.h'ÿ: No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\ordinateure-pc\appdata\local\programs\python\python37\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ORDINA~1\\AppData\\Local\\Temp\\pip-install-1yysp0ce\\lws_6257b201c16c4a419d9d14788c4c68f4\\setup.py'"'"'; __file__='"'"'C:\\Users\\ORDINA~1\\AppData\\Local\\Temp\\pip-install-1yysp0ce\\lws_6257b201c16c4a419d9d14788c4c68f4\\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\ORDINA~1\AppData\Local\Temp\pip-record-c0csbo2s\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ordinateure-pc\appdata\local\programs\python\python37\Include\lws' Check the logs for full command output.
I don't understand the source of the problem. I installed Microsoft Visual C++ 14.0 but it didn't fix the problem.
Is it from my python version ?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
While running
synthesis.py
it had to importlws
but I didn't have it installed in my python environment, and when I tried to install it I got this big error message written in red and white.I don't understand the source of the problem. I installed Microsoft Visual C++ 14.0 but it didn't fix the problem.
Is it from my python version ?
The text was updated successfully, but these errors were encountered: