pip install lws
cj-lyons opened this issue · comments
** python setup.py bdist_wheel did not run successfully.**
Building wheel for lws (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
running bdist_wheel
running build
running build_ext
building 'lws' extension
creating build
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
creating build\temp.win-amd64-cpython-311\Release\lwslib
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ilwslib/ -Id:\anaconda\envs\tu1\Lib\site-packages\numpy\core\include -Id:\anaconda\envs\tu1\include -Id:\anaconda\envs\tu1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-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" /EHsc /Tplws.bycython.cpp /Fobuild\temp.win-amd64-cpython-311\Release\lws.bycython.obj -O3
cl: 命令行 warning D9002 :忽略未知选项“-O3”
lws.bycython.cpp
lws.bycython.cpp(196): fatal error C1083: 无法打开包括文件: “longintrepr.h”: No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
To Reproduce
Code snippet to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):
- Python version: [python3.11]
- Virtual Env: [e.g. virtualenv, conda]
- OS: [win11 Home version]
- python-binance version
Logs or Additional context
Add any other context about the problem here.