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
$ pipenv run pip install scikit-surprise
Collecting scikit-surprise
Downloading scikit_surprise-1.1.4.tar.gz (154 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [45 lines of output]
Error compiling Cython file:
------------------------------------------------------------
...
self.avg_cltr_i = avg_cltr_i
self.avg_cocltr = avg_cocltr
return self
def compute_averages(self, np.ndarray[np.int_t] cltr_u,
^
------------------------------------------------------------
surprise/prediction_algorithms/co_clustering.pyx:157:45: Invalid type.
Compiling surprise/similarities.pyx because it changed.
Compiling surprise/prediction_algorithms/matrix_factorization.pyx because it changed.
Compiling surprise/prediction_algorithms/optimize_baselines.pyx because it changed.
Compiling surprise/prediction_algorithms/slope_one.pyx because it changed.
Compiling surprise/prediction_algorithms/co_clustering.pyx because it changed.
[1/5] Cythonizing surprise/prediction_algorithms/co_clustering.pyx
Traceback (most recent call last):
File "/home/khteh/.local/share/virtualenvs/pAIthon-GaqEDHQT/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/home/khteh/.local/share/virtualenvs/pAIthon-GaqEDHQT/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/khteh/.local/share/virtualenvs/pAIthon-GaqEDHQT/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-vsfd4x9u/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vsfd4x9u/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-vsfd4x9u/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 116, in <module>
File "/tmp/pip-build-env-vsfd4x9u/overlay/lib/python3.13/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
~~~~~~~~~~~~~^^^^^^^
File "/tmp/pip-build-env-vsfd4x9u/overlay/lib/python3.13/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: surprise/prediction_algorithms/co_clustering.pyx
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered:
khteh
changed the title
Python 3.13.3 fails to build wheel
Python 3.13.3 fails to build wheel - surprise/prediction_algorithms/co_clustering.pyx:157:45: Invalid type.Apr 21, 2025
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: