-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed Building Wheel for Numpy Upon Installation #88
Comments
You need NumPy in order to install this package. To do that, use Anaconda. Anaconda installs all of the tools needed for data science, including NumPy, pandas, and so much more. |
I already have numpy installed and working but the installation is still not working using pip install. With pip show numpy, I confirm that it is installed: |
When I specify the site-packages folder for the "pip install" to make sure it is installing in the right spot, I get this error which I think is not allowing me to install the package correctly: |
@jdg9vr - please try using any version of python3.8. I had the same issue when trying with python3.10. |
@vishaalagartha You're mistaken. The error is within the dependency tree. Just update all of your packages, and it will work. It has nothing to do with the Python version. For example, run If that still doesn't work, try using Lastly, a note is that if you ever run into any dependency conflicts with the version number, just remember the latest version of the package will probably work. |
I tried all solutions and none worked: Despite this, I even checked the PYTHONPATH to see if the package was there. basketball_reference_scraper had installed to /usr/local/lib/python3.9/site-packages but not to /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages. So when I try to install it specifically to this directory using |
If you still get the dependency error, then fix it using my suggestions. Try upgrading all of the packages like I recommended in my comment above. Best of luck. |
Fwiw I'm still on 3.10 (same numpy error) but was able to install smoothly with 3.8! Thank you! |
Using python3 -m pip install basketball-reference-scraper, the installation fails on the following section:
"Collecting pandas==1.3.1
Using cached pandas-1.3.1.tar.gz (4.7 MB)
Installing build dependencies ... error"
The error itself appears to be a Numpy upgrading issue as the end of the error says "ERROR: Failed building wheel for numpy".
Also when installing a specific version of Numpy in attempt to solve the issue, the following error is printed:
"basketball-reference-scraper 1.0.31 requires numpy==1.21.0, but you have numpy 1.23.0 which is incompatible."
(I should also add that I am relatively new to coding in Python and could easily be missing something glaringly obvious)
The text was updated successfully, but these errors were encountered: