GitHub user jason-zdan added a comment to the discussion: ModuleNotFoundError: 
No module named 'psycopg2' during k8 installation

For development and testing, the [dev 
image](https://superset.apache.org/admin-docs/installation/docker-builds/#build-presets)
 includes psycopg2 and other database modules:

```yaml
apiVersion: superset.apache.org/v1alpha1
kind: Superset
metadata:
  name: my-superset
spec:
  environment: Development
  image:
    tag: 6.1.0-dev # ← `-dev` tag
  secretKey: thisIsNotSecure_changeInProduction!
  metastore:
    uri: postgresql+psycopg2://superset:superset@postgres:5432/superset
  webServer: {}
  lifecycle:
    migrate: {}
    init:
      adminUser: {}
      loadExamples: true
```

GitHub link: 
https://github.com/apache/superset/discussions/31431#discussioncomment-18587952

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to