You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2023/01/17 15:38:59 UTC

[GitHub] [superset] jsanko9 commented on issue #22571: ModuleNotFoundError installing Superset 2.0.1 in a fresh virtual environment

jsanko9 commented on issue #22571:
URL: https://github.com/apache/superset/issues/22571#issuecomment-1385617714

   > > Same problem
   > > Apply the solution of @zhaoyongjie, now i have :
   > > `from wtforms.ext.sqlalchemy.fields import QuerySelectField ModuleNotFoundError: No module named 'wtforms.ext'`
   > 
   > I got the same issue here, and [ this solution](https://github.com/apache/superset/issues/20914#issuecomment-1250201642) fixed it.
   > 
   > ```
   > pip uninstall WTForms 
   > pip install WTForms==2.3.0
   > ```
   
   I was having this issue plus an issue with validate function:
   `validate() takes 1 positional argument but 2 were given`
   
   I think culprit was with WTForms, updating to 2.3.2 seems to have helped, looking at the change log they may have changed something in 2.3.1
   https://wtforms.readthedocs.io/en/2.3.x/changes/#version-2-3-1
   Posting it here in case someone encounters same thing


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org