Skip to content

--upgrade created a new Superset instance #31401

Answered by dosubot bot
ampil asked this question in Q&A / Help
Discussion options

You must be logged in to vote

When you run pip install without sudo, it installs packages in the user-specific directory (e.g., ~/.local/lib/python3.9/site-packages/) instead of the system-wide directory (/usr/local/lib/python3.9/site-packages/). This is why you see the new instance of Superset in your home directory.

To upgrade the existing system-wide instance of Superset located at /usr/local/lib/python3.9/site-packages/superset/, you should run the pip install command with sudo to ensure it has the necessary permissions to modify the system-wide installation:

sudo pip install apache-superset --upgrade

Before proceeding, it's a good practice to back up your current Superset configuration and data. Additionally, af…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ampil
Comment options

Answer selected by ampil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant