While installing via "python -m pip install px-proxy" install fails with error:
Collecting more-itertools
Downloading more_itertools-9.1.0-py3-none-any.whl (54 kB)
---------------------------------------- 54.2/54.2 kB 697.9 kB/s eta 0:00:00
Installing collected packages: quickjs, pywin32-ctypes, netaddr, zipp, more-itertools, jaraco.classes, importlib-metadata, keyring, px-proxy
DEPRECATION: quickjs is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for quickjs ... error
error: subprocess-exited-with-error
× Running setup.py install for quickjs did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running install
C:\Program Files\Python\3.11\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-cpython-311
creating build\lib.win-amd64-cpython-311\quickjs
copying quickjs\__init__.py -> build\lib.win-amd64-cpython-311\quickjs
running build_ext
building '_quickjs' extension
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
creating build\temp.win-amd64-cpython-311\Release\upstream-quickjs
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_BIGNUM "-IC:\Program Files\Python\3.11\include" "-IC:\Program Files\Python\3.11\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcmodule.c /Fobuild\temp.win-amd64-cpython-311\Release\module.obj -Werror=incompatible-pointer-types
cl : Befehlszeile error D8021 : Ungültiges numerisches Argument /Werror=incompatible-pointer-types.
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\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: legacy-install-failure
× Encountered error while trying to install package.
╰─> quickjs
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
While installing via "python -m pip install px-proxy" install fails with error:
Might be a VS-2022 related error.