superset icon indicating copy to clipboard operation
superset copied to clipboard

failed to build numpy wheel even inside virtual environment using 'pip install apache-superset'

Open AnirbanPatragithub opened this issue 3 years ago • 5 comments

Apache_Superset_Numpy_Wheel Error.txt

I have followed the installation process diligently but still numpy wheel build is failing.I have later tried to install numpy == 1.22.1 as required by apache_superset,though the installation was success yet it failed while pip install apache superset.

AnirbanPatragithub avatar Oct 10 '22 05:10 AnirbanPatragithub

Look at the error at the line 149: setup.py:67: RuntimeWarning: NumPy 1.19.4 may not yet support Python 3.10

Try using python 3.8

artemonsh avatar Oct 10 '22 08:10 artemonsh

@artemonsh But I am already using python 3.10 with numpy in other environments without any problem. Yet I will try what You said.

But I am not getting any proper guide as to how should downgrade python 3.10 with python 3.8.

You can help by pointing in the right direction or just directly helping me with pip commands

thanks a lot

You help is much appreciated.

AnirbanPatragithub avatar Oct 10 '22 11:10 AnirbanPatragithub

I think you may use another version of numpy (not 1.22.1) in python3.10. I cannot provide you with the python downgrade link until I know what OS do you use

artemonsh avatar Oct 12 '22 12:10 artemonsh

I'm having exactly the same issue as @AnirbanPatragithub. Running python3.10 on Ubuntu 22.04 LTS.

jimmybutton avatar Nov 22 '22 11:11 jimmybutton

The problem on 3.10 and numpy 1.22.1 installed is caused by pyarrow as it triggers 1.19.4 numpy installation

jaksmid avatar Nov 27 '22 10:11 jaksmid

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently Superset 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!

rusackas avatar Feb 13 '24 18:02 rusackas