RapidFuzz
RapidFuzz copied to clipboard
cant pip install using pypy on windows 10
error code below
× Building wheel for rapidfuzz (pyproject.toml) did not run successfully.
Γöé exit code: 1
Γò░ΓöÇ> [1852 lines of output]
Not searching for unused variables given on the command line.
-- The C compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is MSVC 19.32.31332.0
CMake Warning (dev) at C:/Users/Kaman/AppData/Local/Temp/pip-build-env-dk8raibg/overlay/Lib/site-packages/cmake/data/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake:162 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/Users/Kaman/AppData/Local/Temp/pip-build-env-dk8raibg/overlay/Lib/site-packages/cmake/data/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake:183 (elseif):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/_cmake_test_compile/build
-- The C compiler identification is MSVC 19.32.31332.0
-- The CXX compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/pypy/pypy.exe (found version "3.9.10")
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES) (found version "3.9.10")
-- Found Python: C:/pypy/pypy.exe (found version "3.9.10") found components: Interpreter Development Development.Module Development.Embed
Using packaged version of Taskflow
-- CMAKE_ROOT: C:/Users/Kaman/AppData/Local/Temp/pip-build-env-dk8raibg/overlay/Lib/site-packages/cmake/data/share/cmake-3.22
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- CMAKE_HOST_SYSTEM: Windows-10.0.19044
-- CMAKE_BUILD_TYPE: Release
-- CMAKE_CXX_COMPILER: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe
-- CMAKE_CXX_COMPILER_ID: MSVC
-- CMAKE_CXX_COMPILER_VERSION: 19.32.31332.0
-- CMAKE_CXX_FLAGS: /DWIN32 /D_WINDOWS /W3 /GR /EHsc
-- CMAKE_CUDA_COMPILER: NOTFOUND
-- CMAKE_CUDA_COMPILER_ID:
-- CMAKE_CUDA_COMPILER_VERSION:
-- CMAKE_CUDA_FLAGS:
-- CMAKE_MODULE_PATH: C:/Users/Kaman/AppData/Local/Temp/pip-build-env-dk8raibg/overlay/Lib/site-packages/skbuild/resources/cmake
-- CMAKE_CURRENT_SOURCE_DIR: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/extern/taskflow
-- CMAKE_CURRENT_BINARY_DIR: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/_skbuild/win-amd64-3.9/cmake-build/extern/taskflow
-- CMAKE_EXE_LINKER_FLAGS: /machine:x64
-- CMAKE_INSTALL_PREFIX: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/_skbuild/win-amd64-3.9/cmake-install
-- CMAKE_MODULE_PATH: C:/Users/Kaman/AppData/Local/Temp/pip-build-env-dk8raibg/overlay/Lib/site-packages/skbuild/resources/cmake
-- CMAKE_PREFIX_PATH:
-- PROJECT_NAME: Taskflow
-- TF_BUILD_BENCHMARKS: OFF
-- TF_BUILD_CUDA: OFF
-- TF_BUILD_TESTS: OFF
-- TF_BUILD_EXAMPLES: OFF
-- TF_INC_INSTALL_DIR: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/_skbuild/win-amd64-3.9/cmake-install/include
-- TF_LIB_INSTALL_DIR: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/_skbuild/win-amd64-3.9/cmake-install/lib
-- TF_UTEST_DIR: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/extern/taskflow/unittests
-- TF_EXAMPLE_DIR: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/extern/taskflow/examples
-- TF_BENCHMARK_DIR: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/extern/taskflow/benchmarks
-- TF_3RD_PARTY_DIR: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/extern/taskflow/3rd-party
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
Using packaged version of rapidfuzz-cpp
Using packaged version of jaro_winkler
-- Performing Test Weak Link MODULE -> SHARED (gnu_ld_ignore) - Failed
-- Performing Test Weak Link MODULE -> SHARED (osx_dynamic_lookup) - Failed
-- Performing Test Weak Link MODULE -> SHARED (no_flag) - Failed
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
PYTHON_NumPy_INCLUDE_DIRS
Python3_EXECUTABLE
Python3_INCLUDE_DIR
Python3_LIBRARY
Python3_NumPy_INCLUDE_DIRS
Python_NumPy_INCLUDE_DIRS
SKBUILD
-- Build files have been written to: C:/Users/Kaman/AppData/Local/Temp/pip-install-97kw0l1e/rapidfuzz_1509194bbaaf44eeb188dd098187530c/_skbuild/win-amd64-3.9/cmake-build
[1/22] Building CXX object rapidfuzz\CMakeFiles\cpp_utils.dir\utils.cpp.obj
cl : ???? ??? warning D9025 : '/W3' ?? '/W4' ????????
[2/22] Building CXX object rapidfuzz\CMakeFiles\cpp_utils.dir\cpp_utils.cxx.obj
cl : ???? ??? warning D9025 : '/W3' ?? '/W4' ????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(2519): warning C4100: '__pyx_self': ?????????? 1 ??????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(3387): warning C4127: ?????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(3399): warning C4127: ?????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(3767): warning C4127: ?????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(3779): warning C4127: ?????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(4869): warning C4127: ?????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(4911): warning C4127: ?????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(6373): warning C4100: 'boundscheck': ?????????? 1 ??????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(6372): warning C4100: 'wraparound': ?????????? 1 ??????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(6391): warning C4100: 'boundscheck': ?????????? 1 ??????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(6390): warning C4100: 'wraparound': ?????????? 1 ??????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(6409): warning C4100: 'boundscheck': ?????????? 1 ??????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(6408): warning C4100: 'wraparound': ?????????? 1 ??????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(8350): warning C4100: 'tstate': ?????????? 1 ??????????
C:\pypy\Include\pypy_decl.h(24): warning C4505: 'PySlice_GetIndicesEx': ???????????????????????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(3760) : warning C4702: ?????????????
C:\Users\Kaman\AppData\Local\Temp\pip-install-97kw0l1e\rapidfuzz_1509194bbaaf44eeb188dd098187530c\rapidfuzz\cpp_utils.cxx(3380) : warning C4702: ?????????????
[3/22] Linking CXX shared module rapidfuzz\cpp_utils.pypy39-pp73-win_amd64.pyd
FAILED: rapidfuzz/cpp_utils.pypy39-pp73-win_amd64.pyd
cmd.exe /C "cd . && C:\Users\Kaman\AppData\Local\Temp\pip-build-env-dk8raibg\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_dll --intdir=rapidfuzz\CMakeFiles\cpp_utils.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x86\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x86\mt.exe --manifests -- C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1432~1.313\bin\Hostx86\x64\link.exe /nologo rapidfuzz\CMakeFiles\cpp_utils.dir\cpp_utils.cxx.obj rapidfuzz\CMakeFiles\cpp_utils.dir\utils.cpp.obj /out:rapidfuzz\cpp_utils.pypy39-pp73-win_amd64.pyd /implib:rapidfuzz\cpp_utils.lib /pdb:rapidfuzz\cpp_utils.pdb /dll /version:0.0 /machine:x64 /INCREMENTAL:NO /EXPORT:PyInit_cpp_utils kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK: command "C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1432~1.313\bin\Hostx86\x64\link.exe /nologo rapidfuzz\CMakeFiles\cpp_utils.dir\cpp_utils.cxx.obj rapidfuzz\CMakeFiles\cpp_utils.dir\utils.cpp.obj /out:rapidfuzz\cpp_utils.pypy39-pp73-win_amd64.pyd /implib:rapidfuzz\cpp_utils.lib /pdb:rapidfuzz\cpp_utils.pdb /dll /version:0.0 /machine:x64 /INCREMENTAL:NO /EXPORT:PyInit_cpp_utils kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:rapidfuzz\cpp_utils.pypy39-pp73-win_amd64.pyd.manifest" failed (exit code 1104) with the following output:
LINK : fatal error LNK1104: ???? 'python39.lib' ????????????
[4/22] Building CXX object rapidfuzz\distance\CMakeFiles\_initialize.dir\_initialize.cxx.obj
cl : ???? ??? warning D9025 : '/W3' ?? '/W4' ????????
pypy on Windows is currently not supported, since scikit-build fails to find the path to the Python header files: https://github.com/scikit-build/scikit-build/issues/701. You should be able to install any version below v2.0.0
, which introduced scikit-build: pip install rapidfuzz==1.9.1
.
tried intalling 1.9.1 but still got this error
C:\Users\Kaman>pypy -mpip install rapidfuzz==1.9.1
Collecting rapidfuzz==1.9.1
Downloading rapidfuzz-1.9.1.tar.gz (537 kB)
---------------------------------------- 537.7/537.7 kB 2.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
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
Γò░ΓöÇ> [177 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-pypy39
creating build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\fuzz.py -> build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\levenshtein.py -> build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\process.py -> build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\string_metric.py -> build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\utils.py -> build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\__init__.py -> build\lib.win-amd64-pypy39\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-pypy39\rapidfuzz
copying src\rapidfuzz\fuzz.pyi -> build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\process.pyi -> build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\py.typed -> build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\string_metric.pyi -> build\lib.win-amd64-pypy39\rapidfuzz
copying src\rapidfuzz\utils.pyi -> build\lib.win-amd64-pypy39\rapidfuzz
running build_ext
building 'rapidfuzz.cpp_process' extension
creating build\temp.win-amd64-pypy39
creating build\temp.win-amd64-pypy39\Release
creating build\temp.win-amd64-pypy39\Release\src
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Iextern/rapidfuzz-cpp/ -Icapi/ -IC:\pypy\include -IC:\pypy\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\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-pypy39\Release\src/cpp_process.obj /EHsc /std:c++14 /O2 /W4 /DNDEBUG /DVERSION_INFO=\\\"1.9.1\\\"
cl : ???? ??? warning D9025 : '/W3' ?? '/W4' ????????
cpp_process.cpp
src/cpp_process.cpp(3675): warning C4127: ?????????
src/cpp_process.cpp(4204): warning C4127: ?????????
src/cpp_process.cpp(4766): warning C4127: ?????????
src/cpp_process.cpp(5326): warning C4127: ?????????
src/cpp_process.cpp(5759): warning C4127: ?????????
src/cpp_process.cpp(6202): warning C4127: ?????????
src/cpp_process.cpp(6794): warning C4127: ?????????
src/cpp_process.cpp(6848): warning C4127: ?????????
src/cpp_process.cpp(6640): warning C4100: '__pyx_self': ?????????? 1 ??????????
src/cpp_process.cpp(7678): warning C4127: ?????????
src/cpp_process.cpp(8300): warning C4127: ?????????
src/cpp_process.cpp(8950): warning C4127: ?????????
src/cpp_process.cpp(9598): warning C4127: ?????????
src/cpp_process.cpp(10072): warning C4310: ??????????????????????
src/cpp_process.cpp(10061): warning C4100: '__pyx_self': ?????????? 1 ??????????
src/cpp_process.cpp(10230): warning C4127: ?????????
src/cpp_process.cpp(10521): warning C4310: ??????????????????????
src/cpp_process.cpp(10510): warning C4100: '__pyx_self': ?????????? 1 ??????????
src/cpp_process.cpp(10703): warning C4127: ?????????
src/cpp_process.cpp(11294): warning C4127: ?????????
src/cpp_process.cpp(11348): warning C4127: ?????????
src/cpp_process.cpp(11075): warning C4100: '__pyx_self': ?????????? 1 ??????????
src/cpp_process.cpp(12087): warning C4100: '__pyx_self': ?????????? 1 ??????????
src/cpp_process.cpp(12163): warning C4100: 'unused': ?????????? 1 ??????????
src/cpp_process.cpp(12164): warning C4189: '__pyx_kwvalues': ??????????????????????????
src/cpp_process.cpp(12391): warning C4127: ?????????
src/cpp_process.cpp(12211): warning C4100: '__pyx_tstate': ?????????? 1 ??????????
src/cpp_process.cpp(12627): warning C4100: 'unused': ?????????? 1 ??????????
src/cpp_process.cpp(12628): warning C4189: '__pyx_kwvalues': ??????????????????????????
src/cpp_process.cpp(12877): warning C4127: ?????????
src/cpp_process.cpp(12675): warning C4100: '__pyx_tstate': ?????????? 1 ??????????
src/cpp_process.cpp(13118): warning C4100: 'unused': ?????????? 1 ??????????
src/cpp_process.cpp(13119): warning C4189: '__pyx_kwvalues': ??????????????????????????
src/cpp_process.cpp(13346): warning C4127: ?????????
src/cpp_process.cpp(13166): warning C4100: '__pyx_tstate': ?????????? 1 ??????????
src/cpp_process.cpp(13576): warning C4100: 'unused': ?????????? 1 ??????????
src/cpp_process.cpp(13577): warning C4189: '__pyx_kwvalues': ??????????????????????????
src/cpp_process.cpp(13826): warning C4127: ?????????
src/cpp_process.cpp(13624): warning C4100: '__pyx_tstate': ?????????? 1 ??????????
src/cpp_process.cpp(14067): warning C4100: 'unused': ?????????? 1 ??????????
src/cpp_process.cpp(14068): warning C4189: '__pyx_kwvalues': ??????????????????????????
src/cpp_process.cpp(14239): warning C4127: ?????????
src/cpp_process.cpp(14115): warning C4100: '__pyx_tstate': ?????????? 1 ??????????
src/cpp_process.cpp(14442): warning C4100: 'unused': ?????????? 1 ??????????
src/cpp_process.cpp(14443): warning C4189: '__pyx_kwvalues': ??????????????????????????
src/cpp_process.cpp(14636): warning C4127: ?????????
src/cpp_process.cpp(14490): warning C4100: '__pyx_tstate': ?????????? 1 ??????????
src/cpp_process.cpp(15093): warning C4127: ?????????
src/cpp_process.cpp(15149): warning C4127: ?????????
src/cpp_process.cpp(14845): warning C4100: '__pyx_tstate': ?????????? 1 ??????????
src/cpp_process.cpp(16466): warning C4127: ?????????
src/cpp_process.cpp(16478): warning C4127: ?????????
src/cpp_process.cpp(16825): warning C4127: ?????????
src/cpp_process.cpp(16837): warning C4127: ?????????
src/cpp_process.cpp(17065): warning C4127: ?????????
src/cpp_process.cpp(17058): warning C4100: 'k': ?????????? 1 ??????????
src/cpp_process.cpp(17058): warning C4100: 'a': ?????????? 1 ??????????
src/cpp_process.cpp(17109): warning C4127: ?????????
src/cpp_process.cpp(17261): warning C4127: ?????????
src/cpp_process.cpp(17254): warning C4100: 'k': ?????????? 1 ??????????
src/cpp_process.cpp(17254): warning C4100: 'a': ?????????? 1 ??????????
src/cpp_process.cpp(17285): warning C4127: ?????????
src/cpp_process.cpp(17413): warning C4127: ?????????
src/cpp_process.cpp(17406): warning C4100: 'k': ?????????? 1 ??????????
src/cpp_process.cpp(17406): warning C4100: 'a': ?????????? 1 ??????????
src/cpp_process.cpp(17436): warning C4127: ?????????
src/cpp_process.cpp(17561): warning C4127: ?????????
src/cpp_process.cpp(17554): warning C4100: 'k': ?????????? 1 ??????????
src/cpp_process.cpp(17554): warning C4100: 'a': ?????????? 1 ??????????
src/cpp_process.cpp(17585): warning C4127: ?????????
src/cpp_process.cpp(17713): warning C4127: ?????????
src/cpp_process.cpp(17706): warning C4100: 'k': ?????????? 1 ??????????
src/cpp_process.cpp(17706): warning C4100: 'a': ?????????? 1 ??????????
src/cpp_process.cpp(17736): warning C4127: ?????????
src/cpp_process.cpp(17860): warning C4127: ?????????
src/cpp_process.cpp(17854): warning C4100: 'k': ?????????? 1 ??????????
src/cpp_process.cpp(17854): warning C4100: 'a': ?????????? 1 ??????????
src/cpp_process.cpp(17881): warning C4127: ?????????
src/cpp_process.cpp(18008): warning C4127: ?????????
src/cpp_process.cpp(18002): warning C4100: 'k': ?????????? 1 ??????????
src/cpp_process.cpp(18002): warning C4100: 'a': ?????????? 1 ??????????
src/cpp_process.cpp(18028): warning C4127: ?????????
src/cpp_process.cpp(18387): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(18399): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(18411): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(18423): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(18435): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(18447): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(18470): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(18482): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(18494): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(18666): warning C4127: ?????????
src/cpp_process.cpp(18685): warning C4127: ?????????
src/cpp_process.cpp(18704): warning C4127: ?????????
src/cpp_process.cpp(18723): warning C4127: ?????????
src/cpp_process.cpp(18742): warning C4127: ?????????
src/cpp_process.cpp(18761): warning C4127: ?????????
src/cpp_process.cpp(18780): warning C4127: ?????????
src/cpp_process.cpp(23614): warning C4127: ?????????
src/cpp_process.cpp(23665): warning C4551: ???????????????????
src/cpp_process.cpp(24170): error C3861: 'PyCode_NewWithPosOnlyArgs': ??????????????
src/cpp_process.cpp(24352): warning C4127: ?????????
src/cpp_process.cpp(24353): warning C4127: ?????????
src/cpp_process.cpp(24355): warning C4127: ?????????
src/cpp_process.cpp(24356): warning C4127: ?????????
src/cpp_process.cpp(24422): warning C4127: ?????????
src/cpp_process.cpp(24423): warning C4127: ?????????
src/cpp_process.cpp(24425): warning C4127: ?????????
src/cpp_process.cpp(24426): warning C4127: ?????????
src/cpp_process.cpp(24487): warning C4127: ?????????
src/cpp_process.cpp(24489): warning C4127: ?????????
src/cpp_process.cpp(24492): warning C4127: ?????????
src/cpp_process.cpp(24497): warning C4127: ?????????
src/cpp_process.cpp(24500): warning C4127: ?????????
src/cpp_process.cpp(24586): warning C4127: ?????????
src/cpp_process.cpp(24587): warning C4127: ?????????
src/cpp_process.cpp(24589): warning C4127: ?????????
src/cpp_process.cpp(24590): warning C4127: ?????????
src/cpp_process.cpp(24656): warning C4127: ?????????
src/cpp_process.cpp(24657): warning C4127: ?????????
src/cpp_process.cpp(24659): warning C4127: ?????????
src/cpp_process.cpp(24660): warning C4127: ?????????
src/cpp_process.cpp(24818): warning C4127: ?????????
src/cpp_process.cpp(24819): warning C4127: ?????????
src/cpp_process.cpp(24821): warning C4127: ?????????
src/cpp_process.cpp(24822): warning C4127: ?????????
src/cpp_process.cpp(24888): warning C4127: ?????????
src/cpp_process.cpp(24889): warning C4127: ?????????
src/cpp_process.cpp(24891): warning C4127: ?????????
src/cpp_process.cpp(24892): warning C4127: ?????????
src/cpp_process.cpp(25014): warning C4127: ?????????
src/cpp_process.cpp(25015): warning C4127: ?????????
src/cpp_process.cpp(25017): warning C4127: ?????????
src/cpp_process.cpp(25018): warning C4127: ?????????
src/cpp_process.cpp(25084): warning C4127: ?????????
src/cpp_process.cpp(25085): warning C4127: ?????????
src/cpp_process.cpp(25087): warning C4127: ?????????
src/cpp_process.cpp(25088): warning C4127: ?????????
src/cpp_process.cpp(25534): warning C4127: ?????????
C:\Users\Kaman\AppData\Local\Temp\pip-build-env-lsflzbl4\overlay\Lib\site-packages\setuptools\config\setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.32.31326\\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
```
Yes I forgot, that when v1.9.1
was released, only pypy3.7/pypy2.7 existed. So for any newer versions of pypy there is no version working on windows yet. I will add support for pypy on windows again once the scikit-build issue is resolved.
v2.1.0
includes a relatively fast pure python fallback of the algorithms when the C extension fails to compile. It should work pretty well especially under pypy. Check the release notes for features, which are not supported by the Python fallback yet.
edit: I still need to do the same for the jarowinkler
package, so currently the installation should still fail due to the dependency
thanks ill try it when its installable
I just realized I forgot to add the fallback implementation to the setup.py (#234) :facepalm:
I just realized I forgot to add the fallback implementation to the setup.py (#234) 🤦
just tried on 3.11 doesn't seem to compile there either
The fallback should work on pypy in v2.1.2
. It is quite a bit slower than the C Extension even when using PyPy, but it is the fastest pure Python implementation I am aware of. Note that in general PyPy is not well suited for C Extensions, since the C-Api of PyPy is significantly slower than the one of CPython.
just tried on 3.11 doesn't seem to compile there either
In think the fallback version should now work with Python 3.11. The C extension will require a version of Cython 3 that supports Python 3.11 and optimally numpy support for Python 3.11.
The pure Python version works now and Python 3.11 is supported as well. The C++ version on PyPy will be supported once it is fixed in scikit-build. However this is out of my control (I linked the corresponding scikit-build issue above)