-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Release 0.25.0rc0 cannot import DataFrame on Python 3.5.2 #27247
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
do you have at least python 3.5.3? |
Ah - my bad; hadn't checked the minimum versions carefully, this machines is running 3.5.2. I'll update the title and close. |
@pandas-dev/pandas-core we should raise a nicer error message on import in “pandas/init” |
@davidnewman02 what version of pip are you using? As a test, I set |
I've seen the error on two of my build nodes ubuntu16+pip19.1.1 and an ancient win10+pip9.0, but I always update
|
Why are there references to matplotlib and SciPy? Why is the RC fetched, I didn’t see a —pre flag. Can you simplify the example? |
Just tried, and with pip 18 on ubuntu and Python 3.5.2, it installs 0.24.2 if I do Apart from the "why did pip try to install this" question, I think it would still be good to see if we can provide a better error message. |
I'm not sure why I'm getting that version if I'm honest, packaging isn't my forte, but I wouldn't expect it to pick up a pre-release version without me explicitly telling it to. Perhaps I've set up my pip incorrectly? I made a simplified
|
Run pip install -e . Rather than setup.py develop. |
I think that’s why the PyPA recommends avoiding executing setup.py directly, as pip doesn’t get called. |
From a brief bit of reading: |
similar to #27288 |
Code Sample, a copy-pastable example if possible
Picked up version 0.25.0rc0 last night:
https://files.pythonhosted.org/packages/19/b6/124914598447928889c6fe08a3e40ff791e1c66c7f6e3234374eefe38359/pandas-0.25.0rc0-cp35-cp35m-win_amd64.whl#sha256=ef9976c835d4a3f1de54b0d176711d27952b48cdf752b37fe60e69395fe35b9b
Full traceback:
Expected Output
No error
Currently works on pandas==0.24.2
Output of
pd.show_versions()
https://files.pythonhosted.org/packages/19/b6/124914598447928889c6fe08a3e40ff791e1c66c7f6e3234374eefe38359/pandas-0.25.0rc0-cp35-cp35m-win_amd64.whl#sha256=ef9976c835d4a3f1de54b0d176711d27952b48cdf752b37fe60e69395fe35b9b
The text was updated successfully, but these errors were encountered: