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 2019/08/21 19:57:26 UTC

[GitHub] [incubator-superset] CerebralMastication commented on issue #7885: Fixed bug with importing maybe_box_datetimelike

CerebralMastication commented on issue #7885: Fixed bug with importing maybe_box_datetimelike
URL: https://github.com/apache/incubator-superset/pull/7885#issuecomment-523624494
 
 
   forgive me if I'm missing something obvious, but it appears this issue prevents superset from running in docker (following the instructions in the repo). Is there a workaround? 
   
   ```
    docker-compose run -e SUPERSET_LOAD_EXAMPLES=yes --rm superset ./docker-init.sh
   Starting superset_redis_1    ... done
   + '[' 1 -ne 0 ']'_postgres_1 ... done
   + exec ./docker-init.sh
   + export FLASK_APP=superset:app
   + FLASK_APP=superset:app
   + flask fab create-admin
   Username [admin]: 
   User first name [admin]: 
   User last name [user]: 
   Email [admin@fab.org]: 
   Password: 
   Repeat for confirmation: 
   Loaded your LOCAL configuration at [/home/superset/superset/superset_config.py]
   /usr/local/lib/python3.6/site-packages/sqlalchemy/sql/functions.py:68: SAWarning: The GenericFunction 'array_agg' is already registered and is going to be overriden.
     "is going to be overriden.".format(identifier))
   2019-08-21 19:55:03,148:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
   Usage: flask fab create-admin [OPTIONS]
   
   Error: While importing "superset", an ImportError was raised:
   
   Traceback (most recent call last):
     File "/usr/local/lib/python3.6/site-packages/flask/cli.py", line 235, in locate_app
       __import__(module_name)
     File "/home/superset/superset/__init__.py", line 254, in <module>
       from superset import views  # noqa
     File "/home/superset/superset/views/__init__.py", line 19, in <module>
       from . import core  # noqa
     File "/home/superset/superset/views/core.py", line 48, in <module>
       from superset import (
     File "/home/superset/superset/sql_lab.py", line 32, in <module>
       from superset import app, dataframe, db, results_backend, security_manager
     File "/home/superset/superset/dataframe.py", line 30, in <module>
       from pandas.core.common import maybe_box_datetimelike
   ImportError: cannot import name 'maybe_box_datetimelike'
   
   ```

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