Installation warning: invalid wheel filename #11894
-
I am able to ultimately run spacy in a GPU-powered Jupyter Notebook provided by Kaggle. After I run
I am not sure how to fix the wheel filename issue. As stated in the output above, cupy-wheel is eventually installed with the help of setup.py, however, this does not seem to be the preferred method. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The error messages are confusing, but this behavior is intentional for You can ignore these errors as long as the install works fine in the end. If you would like to avoid the errors, you can pick the right cupy package to install directly. For most people this is currently |
Beta Was this translation helpful? Give feedback.
The error messages are confusing, but this behavior is intentional for
cupy-wheel
. This package only contains a short script to auto-detect the right cupy package to install, and the script always needs to be run as a source install rather than a wheel install.pip
makes it really hard to disable the wheel cache, so giving the cached wheels invalid names looks like it's a clunky workaround.You can ignore these errors as long as the install works fine in the end.
If you would like to avoid the errors, you can pick the right cupy package to install directly. For most people this is currently
pip install cupy-cuda11x
orpip install spacy[cuda11x]
for CUDA 11.2+.