Failing to install superset locally on a windows 11 pc in a python virtual environment #43475
Bug descriptionHi 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. Is there a way to overcome this problem, or is it always better to install via Docker to have a test environment? Screenshots/recordingsNo response Superset versionmaster / latest-dev Python version3.14 Node version24.15 BrowserFirefox Additional contextNo response Checklist
|
Replies: 4 comments
|
Hi @lgiammattei! I'm Dosu and I'm helping the Apache Superset team. The root cause of your error is that numpy 2.2.6 is being compiled from source on your machine, and its Meson-based build system can't find a C compiler. The error Two important things to note:
Your best options:
For a quick study/evaluation environment, Docker Compose is genuinely the easiest path. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
|
As stated, Windows is not officially supported. We'd welcome PRs/docs to MAKE it official, but meanwhile I'll move this to a Help discussion. |
|
Hi @lgiammattei! The root cause of your error is that numpy 2.2.6 is being compiled from source, and its Meson-based build system can't find a C compiler. The error Two important things to note:
Your best options:
For a quick study/evaluation environment, Docker Compose is genuinely the easiest path. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
|
I was able to get Apache Superset up and running with Docker and WSL2, and get it working by accessing data from a DB2 for IBM i (aka AS/400). I thought I'd leave a few notes here that might be helpful to anyone else who might be interested in a similar work environment (whether for development or production). I installed Superset in "dev mode" via Docker Compose (built from source), with the IBM i Access ODBC driver integrated so you can connect to Db2 for IBM i through the 1. Prerequisites
2. Configure Docker Desktop to use WSL2
3. Get the IBM i Access ODBC driver for Linux
4. Clone the Superset repository inside WSL2 (not on C:)
5. Add the Db2 for i driver to the repository
6. Build and start the stack
7. First login
8. Configure the Db2 for i connection
|
Hi @lgiammattei! I'm Dosu and I'm helping the Apache Superset team.
The root cause of your error is that numpy 2.2.6 is being compiled from source on your machine, and its Meson-based build system can't find a C compiler. The error
Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ...]confirms no compatible C toolchain is installed. This happens because pre-built numpy wheels for Python 3.14 on Windows likely don't exist yet, so pip falls back to building from source.Two important things to note:
Windows is not officially supported. The Superset docs state: "Superset does not have official support for Windows." [1]. You will likely encounter further issues even if you get past …