-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Fails to install on Python 3.10 because of Numpy dependency #19986
Comments
Same issue, same build, except my install was: |
You're right, corrected. |
The same here. Any workaround? |
I used pyenv to get 3.9 installed alongside 3.10 in DAT Linux.
You then use
Or, create a venv using the above python path, then call that python executable when in the venv. See code here for example: https://gitlab.com/datlinux/cari-plugin-superset/-/blob/main/lib/utils.bash |
hi, installing python 3.10 is not working so we have to downgrade python 3.9 and install it. sudo add-apt-repository ppa:deadsnakes/ppa |
IMO @betodealmeida this has been closed prematurely.. not everyone can downgrade to py3.9 easily and for now my workaround is I have to back off of using Ubuntu 22.04 in favor of 20.04 (which didn't work either so.. I will keep plugging away) I see some packages got bumped by someone but.. pip installing latest I am still hitting the issue EDIT: I guess this will come in a subsequent release like |
Did anyone found a solution apart from downgrading python? Can we reopen this? |
As far as I'm aware the problem remains for python 3.10. Hopefully addressed in next release of superset. |
This still happens with 3.10 |
I am facing the same issue ,stuck for hours to find solution for this but did not find any thing. |
How to reproduce the bug
python3.10 -m pip install apache-superset
Expected results
Correct install
Actual results
errors:
see screenshots
Screenshots
Environment
Ubuntu 22.04 with Python 3.10
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Not sure why numpy 1.19.4 is being targeted, when the main config file stipulates numpy=1.21.? There must be a conflicting internal dependency via another package during the build stage.
It's potentially pyarrow==5.0.0 causing the problem, as when try to pip install pyarrow=5.0.0 standalone the same problem arises.
This is conmfirmed by the project.toml for pyarrow=5.0.0:
Recommendation
If possible, Superset's pyarrow dependency should be upgraded to 6.0.0:
The text was updated successfully, but these errors were encountered: