hjdhnx / dr_py

A webServer convert web and x5 movie sites to cms api data
https://hjdhnx.github.io/dr_py/
GNU Lesser General Public License v3.0
685 stars 477 forks source link

windows系统搭建时quickjs搭建出错 #60

Open karldaens opened 10 months ago

karldaens commented 10 months ago

`Building wheels for collected packages: quickjs Building wheel for quickjs (setup.py): started Building wheel for quickjs (setup.py): finished with status 'error' error: subprocess-exited-with-error

python setup.py bdist_wheel did not run successfully. exit code: 1

[15 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win32-3.7 creating build\lib.win32-3.7\quickjs copying quickjs__init__.py -> build\lib.win32-3.7\quickjs running build_ext building '_quickjs' extension creating build\temp.win32-3.7 creating build\temp.win32-3.7\Release creating build\temp.win32-3.7\Release\upstream-quickjs C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DCONFIG_VERSION="2021-03-27" -DCONFIG_BIGNUM -Ic:\users\86178\appdata\local\programs\python\python37-32\include -Ic:\users\86178\appdata\local\programs\python\python37-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" /Tcmodule.c /Fobuild\temp.win32-3.7\Release\module.obj -Werror=incompatible-pointer-types cl: 命令▒\x8c error D8021 :无效的数值参数▒\x80\x9c/Werror=incompatible-pointer-types▒\x9d error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\cl.exe' failed with exit status 2 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for quickjs Running setup.py clean for quickjs Failed to build quickjs ERROR: Could not build wheels for quickjs, which is required to install pyproject.toml-based projects ` 是不是我用的Python版本有问题,我用的是3.7.7的32位python

hjdhnx commented 9 months ago

推荐python3.8的64位哦