fullergalway commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1307738839

   Also struggled with [this 
problem](https://github.com/apache/superset/issues/20914#issuecomment-1249466927)
 
   
   ```sh
   superset db upgrade
   
   ModuleNotFoundError: No module named 'wtforms.ext'
   ```
   
   I found the installed superset (from an earlier attempt) was using a 
different python than my venv 
   
   ```sh
   (venv) rfuller@Roberts-MBP superset % head -1 $(which superset
   /usr/local/bin/superset
   (venv) rfuller@Roberts-MBP superset % head -1 $(which superset)
   #!/usr/local/opt/[email protected]/bin/python3.10
   (venv) rfuller@Roberts-MBP superset % which python
   /Users/rfuller/dev/superset/venv/bin/python
   ```
   I resolved the issue by changing superset to use python from my environment.
   
   ```
   (venv) rfuller@Roberts-MBP superset % vi $(which superset)
   (venv) rfuller@Roberts-MBP superset % head -1 $(which superset)
   #!/usr/bin/env python
   ```
   
   All good now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to