GitHub user lgiammattei created a discussion: Failing to install superset
locally on a windows 11 pc in a python virtual environment
### Bug description
Hi everyone, I'm not sure if this is the right place to report this and ask for
help, or if my request is legitimate after all. If it isn't, I apologize in
advance for your time and attention.
I'm trying to install superset locally on my PC to study it and see if it might
be suitable for some work I have planned.
PC with Windows 11 fully updated and with Python 3.14
After creating a virtual Python environment, I proceed to install superset with
the command
`pip install apache-superset`
but the installation always fails when trying to installa numpy 2.2.6 package:
```
Collecting numpy<2.3,>1.23.5 (from apache-superset)
Downloading numpy-2.2.6.tar.gz (20.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 3.9 MB/s 0:00:05
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
+ C:\superset_project\superset-env\Scripts\python.exe
C:\Users\l.giammattei\AppData\Local\Temp\pip-install-b3mpgmja\numpy_d25dccc0223c4e099c44c7f3ab8507fd\vendored-meson\meson\meson.py
setup
C:\Users\l.giammattei\AppData\Local\Temp\pip-install-b3mpgmja\numpy_d25dccc0223c4e099c44c7f3ab8507fd
C:\Users\l.giammattei\AppData\Local\Temp\pip-install-b3mpgmja\numpy_d25dccc0223c4e099c44c7f3ab8507fd\.mesonpy-m0kwdtfv
-Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md
--native-file=C:\Users\l.giammattei\AppData\Local\Temp\pip-install-b3mpgmja\numpy_d25dccc0223c4e099c44c7f3ab8507fd\.mesonpy-m0kwdtfv\meson-python-native-file.ini
The Meson build system
Version: 1.5.2
Source dir:
C:\Users\l.giammattei\AppData\Local\Temp\pip-install-b3mpgmja\numpy_d25dccc0223c4e099c44c7f3ab8507fd
Build dir:
C:\Users\l.giammattei\AppData\Local\Temp\pip-install-b3mpgmja\numpy_d25dccc0223c4e099c44c7f3ab8507fd\.mesonpy-m0kwdtfv
Build type: native build
Project name: NumPy
Project version: 2.2.6
WARNING: Failed to activate VS environment: Could not parse vswhere.exe
output
..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'],
['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
The following exception(s) were encountered:
Running `icl ""` gave "[WinError 2] Impossibile trovare il file
specificato"
Running `cl /?` gave "[WinError 2] Impossibile trovare il file
specificato"
Running `cc --version` gave "[WinError 2] Impossibile trovare il file
specificato"
Running `gcc --version` gave "[WinError 2] Impossibile trovare il file
specificato"
Running `clang --version` gave "[WinError 2] Impossibile trovare il file
specificato"
Running `clang-cl /?` gave "[WinError 2] Impossibile trovare il file
specificato"
Running `pgcc --version` gave "[WinError 2] Impossibile trovare il file
specificato"
A full log can be found at
C:\Users\l.giammattei\AppData\Local\Temp\pip-install-b3mpgmja\numpy_d25dccc0223c4e099c44c7f3ab8507fd\.mesonpy-m0kwdtfv\meson-logs\meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem
with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
```
Is there a way to overcome this problem, or is it always better to install via
Docker to have a test environment?
### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.14
### Node version
24.15
### Browser
Firefox
### Additional context
_No response_
### Checklist
- [ x] I have searched Superset docs and Slack and didn't find a solution to my
problem.
GitHub link: https://github.com/apache/superset/discussions/43475
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]