You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Miro-Andrin (via GitHub)" <gi...@apache.org> on 2025/08/10 23:45:25 UTC
Re: [D] ModuleNotFoundError: No module named 'psycopg2' during k8 installation [superset]
GitHub user Miro-Andrin added a comment to the discussion: ModuleNotFoundError: No module named 'psycopg2' during k8 installation
You have to use uv now, so the scripts would be:
```
bootstrapScript: |
#!/bin/bash
# Install system-level dependencies
apt-get update && apt-get install -y \
python3-dev \
default-libmysqlclient-dev \
build-essential \
pkg-config
# Install required Python packages
uv pip install \
authlib \
psycopg2-binary \
mysqlclient \
# Create bootstrap file if it doesn't exist
if [ ! -f ~/bootstrap ]; then
echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap
fi
````
GitHub link: https://github.com/apache/superset/discussions/31431#discussioncomment-14066805
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org