Superset running with Python 3.12 (a.k.a correcting error installing NumPy 1.23) #31617
Open
3 tasks done
Labels
install:dependencies
Installation - Dependencies
Bug description
Hi,
[Not actually a bug report, more a solution to make SuperSet work on Python 3.12]
I tried to install & run Apache SuperSet on my machine.
Since I have Python 3.12 installed, I got an error when pip tried to install NumPy (1.23.5?).
By correcting 2 simple things, I managed to get Apache SuperSet to work with Python 3.12. Might be interesting for some readers, or just for the devs to know what to change to make it work soon on Python 3.12 ;)
Got
apache-superset-4.1.1.tgz
archive from~/.cache/pip
(but I imagine you can get it somewhere else)apache-superset-4.1.1/pyproject.toml
, I changed requirement tonumpy==1.26.4
pip install ./apache-superset-4.1.1.tgz
When running
superset
, I got an error aboutimport imp
, in$PY_VENV/lib/python3.12/site-packages/superset/config.py
import imp
withimport importlib as imp
So far (just testing the included examples), SuperSet is working like a charm :)
Screenshots/recordings
No response
Superset version
4.1.1
Python version
Not applicable
Node version
Not applicable
Browser
Not applicable
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: