Skip to content
Apache Superset tutorial: a plain pip install of 6.1.0 breaks in three places, and one constraints file fixes it

Insight // How to

Apache Superset Tutorial: Install 6.1 Without Docker, Tested

Dec 3, 2026 28 min read

Apache Superset is an open-source business intelligence platform that turns the SQL databases you already run into charts and dashboards in a browser. It is for teams that want to host their own BI tool and not pay for one by the seat.

This Apache Superset tutorial is a test, not a rewrite of the install page. We installed version 6.1.0 with pip on Ubuntu 24.04 on 3 December 2026, with no Docker, and wrote down every command, every error, and every number.

The first finding is the one most guides miss. Today, pip install apache-superset finishes without an error and gives you a Superset whose every command crashes. Get past that, and it breaks in two more places. One file from the release fixes all three. The rest of this guide builds on that install: a first dashboard over 2,000,000 PostgreSQL rows, gunicorn, the telemetry pixel, the MCP service, DuckDB, and Metabase measured on the same machine.

Key points

  • What it is: apache/superset, Apache-2.0, 75,777 stars on 3 December 2026. We tested 6.1.0, released on 13 May 2026.
  • The trap: a plain pip install apache-superset==6.1.0 succeeds, and then fails on a missing rich module, a Flask-Caching mismatch, and a missing cachetools module that turns the login page into an HTTP 500. pip check reports nothing.
  • The fix: install against the release’s own requirements/base.txt as a constraints file. It took 29 to 43 seconds and 793 MB in two runs.
  • Ubuntu 24.04: the 6.1.0 docs page says the system’s Python 3.12 is not supported. In our test it installed and ran on Python 3.12.3.
  • First dashboard: four charts over 2,000,000 PostgreSQL rows, built in the UI. The slowest query, revenue by month and channel, took about 0.9 seconds; the other three took 0.2 to 0.3.
  • Server: gunicorn with four workers answered 38 requests a second in our small probe; the development server answered 7.8.
  • Telemetry: a tracking pixel loaded on all 7 pages we opened. Setting SCARF_ANALYTICS=false did nothing in this release. A five-line config change stopped it.
  • AI: Superset 6.1 ships an MCP service. It ran a SQL question for us and refused a DELETE.

What is Apache Superset?

Apache Superset is a web application for exploring data and building dashboards. You connect it to a database, describe a table as a dataset, build charts on it by clicking, and arrange the charts on a dashboard. People who prefer SQL get an editor called SQL Lab.

The facts as of 3 December 2026:

  • Repository: github.com/apache/superset, created in July 2015, 75,777 stars and 18,668 forks.
  • Licence: Apache-2.0. It is a project of the Apache Software Foundation.
  • Latest stable release: 6.1.0, published on PyPI on 13 May 2026. It needs Python 3.10 or newer.
  • Next release: 7.0.0 is at its third release candidate (19 November 2026). We did not test it.
  • Languages: Python on the server (Flask and SQLAlchemy), TypeScript and React in the browser.

Superset does not store your data. It keeps its own settings (users, charts, dashboards, connections) in a small metadata database, and it sends SQL to your databases when someone opens a chart. Each data source needs its Python driver, and the drivers are optional extras: PostgreSQL, MySQL, ClickHouse, and DuckDB among them.

The example content gives a fair idea of the range. After we loaded it, our instance had 9 dashboards and 103 charts using 36 different chart types.

Why Superset matters for a team that owns its data

Our view after a morning of testing: Superset is worth the setup when your data already sits in a warehouse or a PostgreSQL database, and more than a handful of people want charts.

The usual BI bill grows with every person who needs to look at a dashboard. Superset has no seats. The cost moves to something else: somebody has to install it, keep it patched, and own the server. That is a real cost, and this guide shows where it comes from. The install is where it starts.

It also fits how engineering teams already work. Dashboards export to YAML files, the whole thing is driven by a REST API, and since 6.1 an AI agent can query it through MCP. If your team likes its tools scriptable, that counts for a lot.

Where I would not use it: one analyst who needs three charts by Friday. A hosted tool or a notebook is faster for that.

How Superset works

There are four moving parts, and only two are required.

  1. The web server. A Python application that serves the React front end and the API. In development you start it with superset run. In production you put it behind gunicorn.
  2. The metadata database. Where Superset keeps users, roles, connections, datasets, charts, and dashboards. It is SQLite by default. The docs strongly advise against SQLite in production, and the 6.1.0 migration log warns that SQLite support for metadata will be removed in a future version.
  3. A cache (optional). Chart results can be cached in Redis. The default in the source is no cache at all, so every chart load runs its query again. We did not test Redis.
  4. Workers (optional). Celery workers run long queries in the background and send scheduled reports. We did not test them.

Your own databases sit outside all of this. Superset connects to them with whatever account you give it, which is why that account should be read-only. We come back to that.

What this Apache Superset tutorial tested, and on what

Everything below ran on the morning of 3 December 2026.

  • Machine: a shared lab server with Ubuntu 24.04.5 LTS, an AMD Ryzen Threadripper PRO 5955WX (32 threads), and 251 GB of RAM. Other people were using it, so read the timings as indications. Each number is one run unless a count is given.
  • Python: 3.12.3 (Ubuntu’s own) and 3.12.16 (a second build on the lab). Each install was run once on each.
  • Superset: apache-superset 6.1.0 from PyPI, in a virtual environment. No Docker, no root.
  • Databases: PostgreSQL 18.7 for Superset’s metadata and for our test data, and a DuckDB file.
  • Data: 2,000,000 synthetic orders that we generated with a fixed seed. It is not customer data.
  • Browser: the UI steps were scripted in headless Chrome, not clicked by hand. Every request to a host other than our server was logged and blocked.

One caveat on the install: the lab already had build-essential and libpq-dev. Every package arrived as a wheel or a pure Python build in our runs, and nothing was compiled against system libraries. We cannot promise the same on a bare server.

The pip install trap in Superset 6.1.0

The official PyPI install page gives one command, pip install apache_superset. We ran it for version 6.1.0 twice, on two Python builds, and got the same result both times.

python3 -m venv venv . venv/bin/activate pip install "apache-superset==6.1.0"

The install itself was fine: exit code 0, 150 packages, 786 MB, 48 seconds on the first download. pip check said No broken requirements found. Then nothing worked.

Failure 1: every command crashes.

ModuleNotFoundError: No module named 'rich'

The CLI imports rich, and the package does not list it as a requirement. The same gap was reported against 7.0.0rc2 in issue 45937. pip install rich gets you to the next error.

Failure 2: the database migration crashes.

TypeError: SupersetMetastoreCache.__init__() got an unexpected keyword argument 'ignore_delete_many_errors'

pip chose Flask-Caching 2.5.1, because nothing told it not to. Superset 6.1.0 was built against 2.3.1. This is issue 43860: by that report, Flask-Caching 2.5.0 came out on 24 August 2026, three months after Superset 6.1.0. The issue was closed on 9 September, and a fresh install of 6.1.0 still hit the error on 3 December. Pinning flask-caching==2.3.1 let all 344 migrations run.

Failure 3: the server starts, and the login page is an HTTP 500.

No module named 'cachetools'

This one is the worst of the three, because the health check returned 200 and the API login worked. The failures we saw were the login page and one database endpoint; we did not go through every page. pip had picked a newer google-auth that no longer brings cachetools along. The project knows about it (issue 40962), and the fix was merged on 21 June 2026, which is after 6.1.0 shipped.

Apache Superset 6.1.0 pip install failing three ways: missing rich, a Flask-Caching mismatch, and missing cachetools
Two runs on 3 December 2026, the same three failures both times. The install itself exits with 0, and pip check reports no problem.

The three share a cause: what pip resolves today is not what the release pins. rich is not declared as a requirement at all, and the declared ranges allow newer releases of the others than the ones in the release’s own requirements file. Here is what the unpinned install picked, against what the release pins:

PackageUnpinned installPinned by the release
Flask3.1.32.3.3
Flask-AppBuilder5.3.15.0.2
Flask-Caching2.5.12.3.1
cachelib0.17.20.13.0
Werkzeug3.1.93.1.6
google-auth2.63.22.43.0
richmissing13.9.4

You could patch the three failures one by one. I would not. Flask itself is a major version away from the release’s pin (3.1.3 against 2.3.3), and the next surprise would arrive in production.

How to install Apache Superset without Docker, step by step

1. Check the prerequisites

You need Python 3.10 or newer with the venv module. The package lists 3.10, 3.11, and 3.12, and we tested 3.12. On Ubuntu 24.04 the module is the python3.12-venv package.

A note on Python 3.12: the docs page for 6.1.0 says Ubuntu 24.04’s default Python 3.12 “currently is not supported” and sends you to a PPA for 3.11. The package’s own metadata lists 3.12, and in our test 6.1.0 installed, migrated, and served on Ubuntu’s Python 3.12.3. We did not need the PPA.

2. Install against the release’s pinned requirements

The release tag carries a file, requirements/base.txt, with the exact version of all 156 packages the release was tested with. pip can use it as a constraints file once one line is removed (an editable install of a local folder).

python3 -m venv venv . venv/bin/activate pip install --upgrade pip curl -fsSL -o base.txt https://raw.githubusercontent.com/apache/superset/6.1.0/requirements/base.txt grep -v '^-e ' base.txt > constraints.txt pip install "apache-superset==6.1.0" rich -c constraints.txt

Two runs: 43.46 seconds, and 29.26 seconds with pip’s cache warm. 154 packages, 793 MB. pip check was clean, and this time that meant something.

Keep constraints.txt. Every extra you add later should be installed against it too, so pip cannot quietly upgrade something underneath you.

3. Set a secret key

Superset needs a secret key of your own before it will start; the docs date that rule to version 2.1.0. Without one it refuses to run. That includes superset version:

A Default SECRET_KEY was detected, please use superset_config.py to override it. Refusing to start due to insecure SECRET_KEY

Create a config file with a random key and point Superset at it:

cat > superset_config.py <<EOF SECRET_KEY = "$(openssl rand -base64 42)" EOF chmod 600 superset_config.py export SUPERSET_CONFIG_PATH=$PWD/superset_config.py export FLASK_APP=superset

Back this key up with the config file. The docs describe how to rotate it with PREVIOUS_SECRET_KEY; we did not test a rotation or a lost key.

4. Create the metadata database and the admin user

superset db upgrade superset fab create-admin --username admin --firstname Ada --lastname Admin --email admin@example.com superset init

create-admin asks for the password twice (“Password:” and “Repeat for confirmation:”) and then prints Admin User admin created. There is no default password in a pip install; the account is whatever you type here. For scripts, the same command takes --password.

Timings from two runs:

StepRun 1Run 2
superset db upgrade (344 migrations)8.69 s10.30 s
superset fab create-admin3.85 s4.04 s
superset init (roles and permissions)7.73 s7.87 s

By default the metadata lives in a SQLite file under ~/.superset. That is fine for a first look. We move it to PostgreSQL further down.

5. Load the example dashboards (optional)

superset load-examples

This took 200 seconds and added an 89 MB SQLite file of sample data, 9 dashboards, and 103 charts. Note the hyphen: the docs page writes the command with an underscore, the CLI’s own help lists it as load-examples, and the hyphen form is the one we ran.

6. Start the server and log in

superset run -h 127.0.0.1 -p 8088 --with-threads

The health endpoint answered 3.3 seconds after launch, and the process used 257 MB. Open http://127.0.0.1:8088, sign in with the admin account, and you land on the welcome page with the example dashboards listed.

Keep the -h 127.0.0.1 while you are testing. The server’s own log says it plainly: this is a development server, and it should not be used in production.

From nothing to a login page, that is five steps and about a minute, or six steps with the examples.

Connect a database: PostgreSQL with a read-only role

Superset needs a driver for each kind of database. PostgreSQL’s is an extra, and it installs against the same constraints file:

pip install "apache-superset[postgres]==6.1.0" -c constraints.txt

That took 1.69 seconds and added psycopg2-binary 2.9.9. Restart the server afterwards.

For data we created one table, orders, with 2,000,000 synthetic rows: an order date between January 2025 and November 2026, a country, a category, a channel, a quantity, a price, and a status. A single CREATE TABLE ... AS SELECT ... FROM generate_series(1, 2000000), with a fixed random seed, built it in about 8 seconds. The table and its index take 239 MB.

Then the part I would not skip. Give Superset its own database role, and make it read-only:

CREATE ROLE analyst_ro LOGIN PASSWORD 'choose-a-password'; GRANT CONNECT ON DATABASE shop TO analyst_ro; GRANT USAGE ON SCHEMA public TO analyst_ro; GRANT SELECT ON ALL TABLES IN SCHEMA public TO analyst_ro; ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO analyst_ro;

We checked it with psql before going near Superset. A SELECT count(*) returned 2000000. A DELETE returned ERROR: permission denied for table orders. Whatever happens in the BI tool later, that account cannot change your data.

In Superset, connecting takes four steps:

  1. Open Settings, then Database Connections, and click + Database.
  2. Pick PostgreSQL. With only this driver installed, the dialog offers PostgreSQL and SQLite as tiles, and the other engines in a list below.
  3. Fill in the host, port, database name, username, password, and a display name. We called ours “Shop (PostgreSQL)”. Click Connect.
  4. The last screen says “Database connected” and offers settings for SQL Lab, performance, and security. Click Finish.

Two details from our run. The new connection came with DML switched off and file upload switched off, which are the defaults you want. The API masked the password: it came back as a row of X characters.

Build the first chart and dashboard

A chart in Superset sits on a dataset, which is a table (or a saved query) that Superset knows the columns of.

Create the dataset. Go to Datasets, click + Dataset, and choose the database, the schema (public), and the table (orders). Superset read the nine columns and their types straight from PostgreSQL. Click Create and explore dataset.

Pick a chart type. The next page opens on a featured list of 23 chart types, from Area Chart to World Map. The “All charts” view lists about 60 entries. We chose Line Chart and clicked Create new chart. That opens Explore, the chart builder.

Fill in the query panel. Each control opens a small popover when you click it:

  1. X-axis: choose ordered_at. A Time Grain control appears; we set it to Month.
  2. Metrics: switch the popover to the Simple tab, choose the column amount and the aggregate SUM, and save. The control now reads SUM(amount).
  3. Dimensions: choose channel.
  4. Click Create chart.

Three lines appeared, one per sales channel. The status bar read 69 rows in about 0.9 seconds (0.885 to 0.916 over three runs), for a query that groups all 2,000,000 rows by month and channel.

Save it to a dashboard. Click Save, name the chart, and type a new dashboard name in “Add to dashboard”. Superset creates the dashboard for you.

We built four charts this way, all on the same 2,000,000 rows:

ChartTypeQueryRows returnedQuery time, three runs
Revenue by monthLine ChartSUM(amount) by month and channel690.885 to 0.916 s
Orders by countryBar ChartCOUNT(order_id) by country80.225 to 0.229 s
Revenue by categoryPie ChartSUM(amount) by category50.252 to 0.258 s
Total revenueBig NumberSUM(amount)10.190 to 0.194 s
Apache Superset 6.1.0 dashboard with a line, bar, and pie chart and a big number over 2,000,000 PostgreSQL rows
Built in the UI on synthetic orders that we generated. The big number is the sum of all 2,000,000 rows.

The query times are what Explore shows next to the row count. No cache was configured, which is the default, so each run went to PostgreSQL. A new dashboard starts as a draft until you publish it.

SQL Lab, for people who would rather type

SQL Lab is the SQL editor. It opens empty: you choose the database, add a tab, type, and press Run (or Ctrl and Enter).

SELECT country, category, COUNT(*) AS orders, ROUND(SUM(amount)) AS revenue FROM orders WHERE status = 'delivered' GROUP BY country, category ORDER BY revenue DESC LIMIT 10

Ten rows came back. The top one was the United States and Laptops, with 158,434 orders.

Run it properly: gunicorn and PostgreSQL for the metadata

The development server is single process. gunicorn is installed with Superset, so the production form is one command:

gunicorn -w 4 -k gthread --threads 8 --timeout 120 -b 127.0.0.1:8088 "superset.app:create_app()"

It was healthy 3.4 seconds after launch. Five processes (one master and four workers) used 797 MB between them, which is about 200 MB a worker.

To see what that buys, we ran a small probe of our own: 400 signed-in requests for the dashboard list, 16 at a time, once against each server.

ServerRequests a secondMedian responseFailed
superset run --with-threads7.82,033 ms0 of 400
gunicorn, 4 gthread workers38.0400 ms0 of 400
gunicorn, 4 gevent workers38.3403 ms0 of 400
Requests a second for the dashboard list: 7.8 on the Superset development server and 38 on gunicorn with four workers
400 signed-in requests at 16 at a time, one run per server, on a shared machine. An indication, not a benchmark.

Four workers gave about five times the throughput. The docs recommend the gevent worker type; in this probe it made no difference against gthread. It is one endpoint on one shared machine, so take the ratio and not the absolute numbers.

Put a reverse proxy with TLS in front before anyone else can reach it. We bound everything to 127.0.0.1 and did not test a proxy.

Move the metadata to PostgreSQL

Add one line to superset_config.py:

SQLALCHEMY_DATABASE_URI = "postgresql+psycopg2://superset:PASSWORD@127.0.0.1:5432/superset_meta"

Then run superset db upgrade, create-admin, and init again. On PostgreSQL the 344 migrations took 6.16 seconds and created 53 tables.

Do this before you build anything you care about. We found no command that moves an existing SQLite metadata database to PostgreSQL, which brings us to the next section.

Moving dashboards between instances

Superset can export dashboards to a ZIP of YAML files and import them elsewhere. It is the closest thing to dashboards as code. We tried three moves, and two failed in ways worth knowing.

The example dashboards do not travel. superset export-dashboards wrote 133 files in 4.8 seconds. Importing them into the PostgreSQL-backed instance failed:

ImportFailedError: SQLiteDialect_pysqlite cannot be used as a data source for security reasons.

The examples live on a SQLite database, and Superset blocks SQLite as a data source by default. Run superset load-examples on the new instance if you want them there.

The CLI cannot import a database that has a password. Our own dashboard exported to 8 files, with the password masked. superset import-dashboards then refused it:

Error importing dashboard: databases/Shop_PostgreSQL.yaml: {'_schema': ['Must provide a password for the database']}

The command has two options, the path and the username. There is nowhere to give it a password.

The REST API can. A POST to /api/v1/dashboard/import/ takes the ZIP plus a passwords field that maps each database file to its password. It also needs a bearer token and a CSRF token from /api/v1/security/csrf_token/; without the CSRF header our request was rejected. With both, the answer was {"message":"OK"}. The dashboard, its four charts, the dataset, and the connection all arrived, and a count through the imported connection returned 2,000,000.

So the path exists, and it is the API, not the CLI. Budget for a small script.

Telemetry: the Scarf pixel, and how to turn it off in 6.1.0

Superset’s FAQ says the project collects basic telemetry through a service called Scarf. We watched what that means on a pip install.

On each of the seven pages we loaded, the front end requested a tiny image from apachesuperset.gateway.scarf.sh, with the Superset version in the address. Seven page loads, seven requests. It was the only outside host any of our pages asked for.

The documented switch is an environment variable, SCARF_ANALYTICS=false. We set it and tried again: still seven of seven. The reason is in the package. In 6.1.0 that variable is read when the front end is built, and a pip install ships a front end that was built already. The installed config.py has no such setting. The project knows this: pull request 41124, opened in June 2026, describes the same cause for the PyPI package and the official Docker image. A maintainer closed it on 29 June with the note that a runtime opt-out had already landed on the main branch. That setting is in the 7.0 release candidates, according to the source; we did not test it.

What did work was the browser’s own guard. Superset sends a Content Security Policy that lists the hosts a page may load images from, and Scarf’s hosts are on it. Take them off:

import copy from superset.config import TALISMAN_CONFIG as _DEFAULT_TALISMAN TALISMAN_CONFIG = copy.deepcopy(_DEFAULT_TALISMAN) _csp = TALISMAN_CONFIG["content_security_policy"] _csp["img-src"] = [src for src in _csp["img-src"] if "scarf.sh" not in src]

With those lines in superset_config.py, the browser blocked all seven requests, nothing left the machine, and no page showed an error.

To be fair to the project: the pixel carries a version number, not your data, and the FAQ discloses it. I still want the off switch to work when a team asks for it, and in 6.1.0 the documented one does not.

Superset and AI: the built-in MCP service

“Apache Superset AI” is one of the phrases people search for. In the open source project, the answer in 6.1 is an MCP service: a second process that lets an AI agent list dashboards, read datasets, run SQL, and create charts through the Model Context Protocol. If MCP is new to you, our Chrome DevTools MCP tutorial covers the idea from the client side.

pip install "apache-superset[fastmcp]==6.1.0" -c constraints.txt superset mcp run --host 127.0.0.1 --port 5008

It was listening about 4.5 seconds after launch. We tested it with a plain MCP client in Python, with no AI model involved, so what follows is the service’s behaviour and not an agent’s.

  • It is closed until you configure a user. Every tool call came back with “No authenticated user found” until we set MCP_DEV_USERNAME = "admin" in the config. That is the right default.
  • It shows four tools and hides the rest behind search. The client sees get_instance_info, health_check, search_tools, and call_tool. Twenty searches turned up 22 tools behind them, so there are at least that many, among them list_dashboards, get_dataset_info, execute_sql, generate_chart, and generate_dashboard.
  • It answered a question in SQL. execute_sql on our PostgreSQL connection returned the top three countries by orders; the statement ran in 196 milliseconds.
  • It refused to write. DELETE FROM orders WHERE order_id = 1 through the same tool returned “DML queries are not allowed on this database”. Superset stopped it before the read-only role had to.

One warning. With MCP_DEV_USERNAME, anyone who can reach that port acts as that user, and we set it to an admin. The service’s own docs call this development only and describe JWT authentication for production. We did not test the JWT setup. Keep the port on localhost until you have.

DuckDB works, with one setting

DuckDB is a good fit for a small analytics box, and “apache superset connect to duckdb” is a common search. The driver is another extra:

pip install "apache-superset[duckdb]==6.1.0" -c constraints.txt

We wrote the same 2,000,000 orders into a DuckDB file. It took 1.83 seconds and 25 MB, against 239 MB for the PostgreSQL table. The connection string is duckdb:////absolute/path/shop.duckdb, and the first grouped query returned in 0.13 seconds.

Then we sent 40 queries from 8 threads, with gunicorn’s four workers behind them. Twenty failed, most with:

IO Error: Could not set lock on file

DuckDB’s documentation says one process can open a database file for writing, or several can open it read-only. gunicorn’s workers are separate processes, so the fix is to open the file read-only. We created the connection through the REST API and set its extra value to:

{"engine_params": {"connect_args": {"read_only": true}}}

After that, 40 of 40 succeeded. If you run Superset on DuckDB with more than one worker, set this on day one.

Apache Superset vs Metabase

Metabase is the other open source BI tool people weigh against Superset. We did not build dashboards in Metabase, so this is not a feature review. We did install it on the same machine, to compare what it takes to get each one running.

Metabase 0.65.7 is a single 714 MB jar. With Java 25 installed, the whole setup is java -jar metabase.jar.

Superset 6.1.0 (pip)Metabase 0.65.7 (jar)
Download and install29 to 43 s, 793 MB, 154 Python packages13.8 s, one 714 MB file
Commands to a login page6 (pinned install, key, db upgrade, create-admin, init, run)1 (java -jar metabase.jar)
Time to a healthy serverabout 20 s of setup, then 3.3 s30.5 s on first start
Idle memory257 MB (development server), 797 MB (gunicorn, 4 workers)2,136 MB with default JVM settings
LicenceApache-2.0AGPL for the open source edition
Default metadata storeSQLiteH2
Usage tracking by defaultScarf pixel, onAnonymous tracking, on

The first four rows are our measurements, one run each. The memory figure for Metabase needs a caveat: the JVM sizes itself to the machine, and ours has 251 GB, so a small server would show less. The last three rows are from each project’s repository and docs.

How I read it. Metabase is far easier to start: one file, one command, and no dependency puzzle. Superset asks more of you on day one, as the first half of this guide shows. In return, a team that writes SQL gets SQL Lab, about 60 chart types in the gallery, exports as YAML, and a permissive licence. We measured how each one starts, not their features side by side. Both docs tell you to move off the default metadata store before production.

If you would rather not run either yourself, both have a hosted version. On 3 December 2026, Preset (hosted Superset) listed a free tier for up to 5 users and a paid tier at 20 US dollars a user a month on annual billing. Metabase listed its cloud Starter plan at 100 US dollars a month with 5 users included.

What about Power BI and Tableau?

We did not test either, so I will keep this short. They are proprietary products, each tied closely to its vendor’s platform. Superset’s case against them is ownership. You run it, you read the code, and adding the hundredth viewer costs nothing in licences. Our earlier piece on Power BI and Tableau covers that pair, and the wider field is in our list of business intelligence tools.

What changes in Superset 7.0

Version 7.0.0 is at its third release candidate. We did not install it; these points come from the upgrade notes at that tag. They matter if you install 6.1 today and plan to upgrade.

  • Python 3.10 is dropped. 7.0 needs Python 3.11 or newer. Ubuntu 24.04’s Python 3.12 is inside that range.
  • A password policy arrives. Passwords need at least 8 characters by default, and common ones are blocked. An admin and admin login will not pass.
  • SQL Lab moves to a new address, and old /superset/ routes are redirected.
  • Selenium is removed. Screenshots for reports need Playwright.
  • SQLAlchemy moves to 2.0, and the front end moves to a new major version of its component library, which can break custom CSS.

The telemetry switch also becomes a runtime setting in the 7.0 source. That would make the workaround above unnecessary, if it ships as written.

Limits and gotchas

A short list of what cost us time, or would have.

  • Pin the install. A plain pip install of 6.1.0 is broken today in three places. Use the constraints file, for the base install and for every extra.
  • The health check lies a little. With cachetools missing, /health said OK while the login page returned 500. Check a real page after any upgrade.
  • Run CLI commands with the same config as the server. Without SUPERSET_CONFIG_PATH, the CLI falls back to the default key and refuses to run. The fix is one export.
  • Start on PostgreSQL if this is more than a trial. We found no built-in move from SQLite metadata, and the export route has the limits described above.
  • Caching is off by default. Every chart load is a query against your database. At our scale that meant 0.2 to 0.9 seconds a chart. On a busy dashboard, set up Redis; we did not test it.
  • The connect dialog needed a second click on Connect in our scripted run. The first did nothing, the second connected. We did not try it by hand, so it may be the script.
  • /chart/add/ with a trailing slash before the query string returned a 404 when opened directly. Without the slash it works.
  • The MCP dev user is a shared login. Treat port 5008 like a database port.

What we did not test

Docker Compose and Kubernetes installs, Redis caching, Celery workers, alerts and reports, embedding, row level security, single sign-on, the 7.0 release candidates, MySQL and ClickHouse, and a server without build tools. The UI steps were scripted, not clicked by hand.

Frequently asked questions

What is Apache Superset used for?

Apache Superset is used to explore data and build dashboards on top of SQL databases. Analysts write queries in its SQL editor, build charts by clicking, and arrange them on dashboards that the rest of the company opens in a browser. It queries your databases directly and stores only its own settings.

Is Apache Superset free?

Yes. Apache Superset is open source under the Apache-2.0 licence, so there is no licence fee and no charge by the user. You pay for the server it runs on and for the time to operate it. A hosted version is sold by Preset, a separate company, which listed a free tier for up to 5 users in December 2026.

How do I install Apache Superset without Docker?

Create a Python virtual environment and install apache-superset with pip, pinned to the release’s own requirements/base.txt as a constraints file. Then set a SECRET_KEY, run superset db upgrade, superset fab create-admin, and superset init, and start it with superset run. In our test of 6.1.0, a plain unpinned install did not work.

Does Apache Superset work on Ubuntu 24.04 with Python 3.12?

In our test, yes. Superset 6.1.0 installed and ran on Ubuntu 24.04.5 with the system’s Python 3.12.3, including the migrations, the admin user, and the web server. The 6.1.0 docs page says Python 3.12 is not supported and suggests 3.11 from a PPA, but the package metadata lists 3.12.

What is the default username and password for Apache Superset?

A pip install has no default login. The admin account is created by superset fab create-admin with the username and password you type. The Docker Compose setup is different: the 6.1.0 docs give admin as both the default username and the default password. We did not run it; change that login before anyone else can reach the server.

How do I reset the admin password in Apache Superset?

Run superset fab reset-password --username admin on the server, with the same config the server uses. It asks for the new password twice. In our test we reset a user’s password this way: the old password then returned HTTP 401 at login, and the new one returned 200.

Can Apache Superset use SQLite?

For its own metadata, yes: SQLite is the default, and the docs advise against it in production. As a data source, no by default: Superset blocks SQLite connections for security reasons, because a SQLite address can point at any file on the server. The bundled example data is the one exception.

How do I connect Apache Superset to DuckDB?

Install the driver with pip install "apache-superset[duckdb]", restart Superset, and add a database with the address duckdb:////absolute/path/file.duckdb. If you run more than one gunicorn worker, also set the engine parameter read_only to true. Without it, half of our 40 test queries failed on DuckDB’s file lock.

Does Apache Superset collect telemetry?

Yes. The web interface loads a tracking pixel from Scarf, carrying the Superset version. In our test of 6.1.0 from pip it fired on 7 of 7 page loads, and the documented SCARF_ANALYTICS=false setting did not stop it. Removing Scarf’s hosts from the Content Security Policy did.

Does Apache Superset have AI features?

We found no built-in chat assistant in the open source project. Since version 6.1 it ships an MCP service, started with superset mcp run, that lets an AI agent list dashboards, read datasets, run SQL, and create charts. In our test it ran a query and refused a DELETE on a connection with DML switched off.

What are the system requirements for Apache Superset?

Superset 6.1.0 needs Python 3.10 or newer (the package lists 3.10 to 3.12, and we tested 3.12) and about 800 MB of disk for the install. In our test, the development server used 257 MB of memory, and gunicorn with four workers used about 800 MB. Add a metadata database, PostgreSQL in production.

Is Apache Superset better than Metabase?

It depends on who uses it. Metabase is much easier to start: one jar and one command, against a pinned install and five more commands for Superset. Superset suits teams that write SQL: a SQL editor, about 60 chart types, and an Apache-2.0 licence, where Metabase’s open source edition is AGPL. We compared how they start, not their features.

Watch the video

The video shows the same test on screen: the install that breaks, the fix, the first dashboard on 2,000,000 rows, and the telemetry pixel.

It will be linked here once it is public on the HyScaler YouTube channel.

Try it

Start with the pinned install in a fresh folder; it takes a minute. Load the examples, open two or three of the dashboards, and then point Superset at a copy of a database you know well, through a read-only role. One real chart on your own data tells you more than any list of features.

If it earns a place, move the metadata to PostgreSQL and put gunicorn in front before you build the second dashboard.

Getting data into a shape that a BI tool can chart is usually the bigger job. I work at HyScaler, and that is the work our data engineering team does for clients. The tool itself is free, and it is at github.com/apache/superset.

References