Skip to content
Discussion options

You must be logged in to vote

The reason /app/.venv/bin/uv isn't found is that in Superset 5.0.0, uv is installed system-wide, not inside the virtual environment. You should just call uv directly, not with a path. So your bootstrapScript should look like:

bootstrapScript: |
  #!/bin/bash
  apt update && apt install -y gcc libpq-dev python3-dev pkg-config
  echo "installing required libs"
  uv pip install psycopg2-binary authlib
  if [ ! -f ~/bootstrap ]; then echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap; fi

This change happened after 4.1.x—Superset 5.0.0 and above use uv instead of pip for Python package management, and uv is available on the system path, not in .venv citation citation. That…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
7 replies
@1yuv
Comment options

@dosubot
Comment options

Answer selected by 1yuv
@1yuv
Comment options

@dosubot
Comment options

@joaohnogueira
Comment options

@juanrondineau
Comment options

Comment options

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

Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants