-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No virtual environment found; run uv venv
to create an environment
#31600
Comments
Hello @small-flowers! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together. The issue you're encountering seems to be related to the setup of the virtual environment within the Docker container. The error message suggests that a virtual environment is not found, and it recommends running In the Superset Docker setup, the Here are a few things you can check or try:
If these steps do not resolve the issue, you might want to manually check the Dockerfile and the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Hi, I am also new to try the project. |
Quick workaround is to I need to figure out a way to make the latest |
I added this configuration and the error was resolved, but there are new errors: |
I solved this by adding setuptools in docker/requirements-local.txt |
Seems like an unrelated issue. |
Bug description
I follow the quickstart guide and at the step of
docker compose -f docker-compose-image-tag.yml up
It downloaded all the images and after the DB and REDIS containers initialized all the other containers were constantly spamming the output with messages like:
Collecting uv
Downloading uv-0.5.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Downloading uv-0.5.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.0/15.0 MB 136.0 MB/s eta 0:00:00
Installing collected packages: uv
Successfully installed uv-0.5.11
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Reinstalling the app in editable mode
error: No virtual environment found; run
uv venv
to create an environment, or pass--system
to install into a non-virtual environmentRequirement already satisfied: uv in /usr/local/lib/python3.10/site-packages (0.5.11)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Screenshots/recordings
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: