-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: pandas doesn't install on python 3.10 #43715
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
Comments
Notice that I do have numpy install, but the requirements require numpy that is not compatible. |
OK, I tested it without the numpy requirement and it worked. You just need to alter it. My numpy is 1.21.2 . |
Just to confirm, the wheels work correctly and the issue is that our pyproject.toml does not specify a compatible numpy? Thank you. |
Yep, it seems to be the case. I don't know what happend now, I tried to build it(after clean). It seems fine(though, didn't look deeper). Anyway, here is the log. Last time I tried
|
@fangchenli @lithomas1 I think after we merge #43729 could attempt to backport here (but likely needs to be manual). |
This also fails for me, but I think this is a python 3.10 compatibility bug with the dependency numpy, rather than pandas. Looking at numpy/numpy#20045 |
OK, installing from sdist works now for me so the fix I put up seems to work. @craigboman The issue was that there's no wheels, so pip compiles from source(sdist). And when compiling from source, numpy got pinned to a version not compatible with Python 3.10. This should be fixed in our next release. |
@lithomas1 Anything more to do here or can we close this? |
closing. can re-open or open new issue if problems with the latest release. |
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the master branch of pandas.
Reproducible Example
Issue Description
I tried to install on 3.10.0rc2
Expected Behavior
Works
Installed Versions
Not relevant
The text was updated successfully, but these errors were encountered: