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
Due to a breaking change in the pandas API that caused bugs in nfl_data_py, the latest release is intentionally constrained to numpy < 2.0 (See #98 (comment)). numpy v1 was maintained only up to Python 3.12, so unfortunately that is the expected result when attempting to install on Python 3.13.
Good news! nfl_data_py v1.0 will be released in a few weeks, which will include support for numpy v2.
Here are some workaround options in the meantime:
(recommended) Use Python 3.12 in a virtual environment. If you haven't used a virtual environment tool before, I recommend conda or pipenv. Learning to use one takes a bit of patience, but it will make your dev life SO much easier in the long run. I'm happy to help if you have questions getting started.
(if new to Python) Don't want to use a virtual environment and don't mind resetting your system's local Python config? You can downgrade your base Python installation.
If you are fluent with Docker, you can use the python:3.12 image as a super-isolated virtual environment.
If you really have a reason you need to use Python 3.13 right now, you can do so by installing the previous version of nfl_data_py that did not include the numpy version constraint. Go this route at your own risk; you will lose the bug fixes described in the 0.3.3 release notes and also possibly encounter weird issues like in #45.
getting this error why I try to install on python 3.13.0
The text was updated successfully, but these errors were encountered: