quickjs failing to install, can't run udb
Hey @Prudhvi-pln , firstly a huge thanks for your hard work, can't wait to get the udb up and running :)
Unfortunately, when I try to run pip install -r requirements.txt, I get the following error relating to quickjs:
× Building wheel for quickjs (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-313\quickjs
copying quickjs\__init__.py -> build\lib.win-amd64-cpython-313\quickjs
running build_ext
building '_quickjs' extension
creating build\temp.win-amd64-cpython-313\Release
creating build\temp.win-amd64-cpython-313\Release\upstream-quickjs
"C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Tools\MSVC\14.50.35717\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_BIGNUM "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.3312.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.3312.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Tools\MSVC\14.50.35717\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\cppwinrt" /Tcmodule.c /Fobuild\temp.win-amd64-cpython-313\Release\module.obj -Werror=incompatible-pointer-types
cl : Command line error D8021 : invalid numeric argument '/Werror=incompatible-pointer-types'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\18\\BuildTools\\VC\\Tools\\MSVC\\14.50.35717\\bin\\HostX86\\x64\\cl.exe' failed with exit code 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
Failed to build quickjs
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> quickjs
-------------
I tried a fix you had suggested in another resolved issue (python -m pip install --upgrade pip setuptools wheel), but that only produced the following:
Requirement already satisfied: pip in C:\Users\there\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages (26.0.1)
Requirement already satisfied: setuptools in C:\Users\there\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages (82.0.0)
Requirement already satisfied: wheel in C:\Users\there\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages (0.46.3)
Requirement already satisfied: packaging>=24.0 in C:\Users\there\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages (from wheel) (26.0)
... after which, when trying pip install -r requirements.txt again, throws the same error as above.
In case it helps at all, when I try to run python udb.py, I get the following:
Traceback (most recent call last):
File "C:\Users\there\udb\udb.py", line 10, in <module>
from Utils.commons import colprint_init, colprint, PRINT_THEMES, ExitException
File "C:\Users\there\udb\Utils\commons.py", line 6, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
If there's anything you can do to help me get udb running, I'd be hugely grateful! Thanks again for all your work and effort, massively appreciated. :)
1 条评论