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
I keep getting this error in PyCharm terminal or plain command prompt in Windows.
Using cached threadpoolctl-3.2.0-py3-none-any.whl (15 kB)
Building wheels for collected packages: rapidfuzz
Building wheel for rapidfuzz (pyproject.toml) ... error
error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for rapidfuzz
Failed to build rapidfuzz
ERROR: Could not build wheels for rapidfuzz, which is required to install pyproject.toml-based projects
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I keep getting this error in PyCharm terminal or plain command prompt in Windows.
Using cached threadpoolctl-3.2.0-py3-none-any.whl (15 kB)
Building wheels for collected packages: rapidfuzz
Building wheel for rapidfuzz (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for rapidfuzz (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\fuzz.py -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\levenshtein.py -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\process.py -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\string_metric.py -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\utils.py -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz_init_.py -> build\lib.win-amd64-cpython-311\rapidfuzz
running egg_info
writing src\rapidfuzz.egg-info\PKG-INFO
writing dependency_links to src\rapidfuzz.egg-info\dependency_links.txt
writing requirements to src\rapidfuzz.egg-info\requires.txt
writing top-level names to src\rapidfuzz.egg-info\top_level.txt
reading manifest file 'src\rapidfuzz.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src\rapidfuzz.egg-info\SOURCES.txt'
copying src\rapidfuzz_init_.pyi -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\fuzz.pyi -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\process.pyi -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\py.typed -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\string_metric.pyi -> build\lib.win-amd64-cpython-311\rapidfuzz
copying src\rapidfuzz\utils.pyi -> build\lib.win-amd64-cpython-311\rapidfuzz
running build_ext
building 'rapidfuzz.cpp_process' extension
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
creating build\temp.win-amd64-cpython-311\Release\src
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Iextern/rapidfuzz-cpp/ -Icapi/ -IC:\Users\chase\AppData\Local\Programs\Python\Python311\include -IC:\Users\chase\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-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 /Tpsrc/cpp_process.cpp /Fobuild\temp.win-amd64-cpython-311\Release\src/cpp_process.obj /EHsc /std:c++14 /O2 /W4 /DNDEBUG /DVERSION_INFO=\"1.9.1\"
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cpp_process.cpp
src/cpp_process.cpp(253): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\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 rapidfuzz
Failed to build rapidfuzz
ERROR: Could not build wheels for rapidfuzz, which is required to install pyproject.toml-based projects
On
python --version
Python 3.11.3
Beta Was this translation helpful? Give feedback.
All reactions