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 2020/04/17 14:49:23 UTC

[GitHub] [incubator-superset] karen-pal opened a new issue #9568: dependency issue makes "flask fab create-admin" command fail

karen-pal opened a new issue #9568: dependency issue makes "flask fab create-admin" command fail
URL: https://github.com/apache/incubator-superset/issues/9568
 
 
   ### Problem
   In a fresh virtualenv, and fresh installation of superset, while following the superset installation and initialization steps in the official documentation, on the step for creating an admin user, we get the error
   
   ``` ImportError: cannot import name 'NamedAgg'```
   
   while we expect the admin creation to be successful.
   
   After looking in the dependencies for superset, the pandas dependency listed is 
   `required: >=0.24.2,<0.25.0` while `NamedAgg` is only available for` pandas >=0.25` [link to official documentation](https://pandas.pydata.org/pandas-docs/version/0.25.3/user_guide/groupby.html#groupby-aggregate-named)
   
   #### Possible fix
   After installing `pandas==0.25` i was able to create the admin successfully using the `flask fab create-admin` command.
   
   #### How to reproduce the bug
   
   1. In a fresh venv + fresh install of superset
   2. follow the official documentation installation steps
   3. get to the admin creation step 
   4. See error
   
   ### Environment
   
   - superset version: 0.35.2
   - python version: 3.6.9
   - node.js version: v13.11.0
   - npm version: 6.13.7
   - OS: ubuntu 18.04
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ x] I have reproduced the issue with at least the latest released version of superset.
   - [ x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] stale[bot] commented on issue #9568: dependency issue makes "flask fab create-admin" command fail

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #9568:
URL: https://github.com/apache/incubator-superset/issues/9568#issuecomment-645132682


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] karen-pal closed issue #9568: dependency issue makes "flask fab create-admin" command fail

Posted by GitBox <gi...@apache.org>.
karen-pal closed issue #9568:
URL: https://github.com/apache/incubator-superset/issues/9568


   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] karen-pal commented on issue #9568: dependency issue makes "flask fab create-admin" command fail

Posted by GitBox <gi...@apache.org>.
karen-pal commented on issue #9568:
URL: https://github.com/apache/incubator-superset/issues/9568#issuecomment-646668108


   This is fixed since the version of pandas in Superset has been bumped.


----------------------------------------------------------------
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.

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