Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWas unable to import superset Error: cannot import name '_maybe_box_datetimelike' #6770
Comments
This comment has been minimized.
This comment has been minimized.
HI. It seems as if it is a problem with the latest Pandas update as in 6765 . It should be fine if you downgrade your pandas version |
This comment has been minimized.
This comment has been minimized.
@mildrabbit I've the same problem... The @Uneasy-listening's solution solved it for you? |
This comment has been minimized.
This comment has been minimized.
@jmarti15 @Uneasy-listening �Yes, according to 6765 method, this problem has been solved. Thanks. |
This comment has been minimized.
This comment has been minimized.
tx @Uneasy-listening !!! This worked for me:
[only necessary if you have already installed pandas (probably ver 0.24.0)
|
This comment has been minimized.
This comment has been minimized.
tx @mildrabbit |
This comment has been minimized.
This comment has been minimized.
@jmarti15 Thanks |
This comment has been minimized.
This comment has been minimized.
The latest superset release 0.29.0rc7 is broken because of this. Time for a new release? |
This comment has been minimized.
This comment has been minimized.
I "fixed" it by simply replacing the two occurrences of |
This comment has been minimized.
This comment has been minimized.
@jacopofar very good! |
This comment has been minimized.
This comment has been minimized.
I used @jacopofar "fixed" |
This comment has been minimized.
This comment has been minimized.
@Uneasy-listening 6765 method didn't work for me. just uninstalled pandas 0.24 and switched over to 0.23.4 - fabmanager create admin... returned the following error: |
This comment has been minimized.
This comment has been minimized.
Is this supposed to be fixed in #6765? |
This comment has been minimized.
This comment has been minimized.
I still have the same issuer with rc 0.32 |
This comment has been minimized.
This comment has been minimized.
Thanks jacopofar! jacopofar's fix worked for me. Centos 7.5 |
This comment has been minimized.
This comment has been minimized.
Yes!! @jacopofar With this walk around, you can use the latest pandas with no change at all. |
This comment has been minimized.
This comment has been minimized.
@kristw my pip list
error while trying to create admin user using fab manager
i'm using python 3.6 |
This comment has been minimized.
This comment has been minimized.
I have the same issue with Python 3.6.8 on OS X running the very latest master with pandas 0.24.3. We really should fix this. |
This comment has been minimized.
This comment has been minimized.
I am not able to find dataframe.py in my following installation? |
This comment has been minimized.
This comment has been minimized.
@gpinu1 look at the stack trace of the error, it should report the path of the file explicitly |
Superset version
Superset version 0.28.1
python 3.6.6
(superset) [root@superset opt]# fabmanager create-admin --app superset
Username [admin]: admin
User first name [admin]: admin
User last name [user]: admin
Email [admin@fab.org]: admin@qq.com
Password:
Repeat for confirmation:
Was unable to import superset Error: cannot import name '_maybe_box_datetimelike'
The above problem occurred when initializing superset. How to handle it