[PYTHON] An error occurs when importing japandas (problem unsolved)

Execution environment

python 3.8.1

qiita.rb


import japandas

When I run the above, I get the following error

qiita.rb


 File "c:\Users\name\Documents\excel_python\python_prg\test.py", line 1, in <module>
    import japandas
  File "C:\Users\name\AppData\Local\Programs\Python\Python38-32\lib\site-packages\japandas\__init__.py", line 4, in <module>
    import japandas.core.strings                                                          # noqa
  File "C:\Users\name\AppData\Local\Programs\Python\Python38-32\lib\site-packages\japandas\core\strings.py", line 8, in <module>
    from pandas.compat import PY3, iteritems, u_safe
ImportError: cannot import name 'PY3' from 'pandas.compat' (C:\Users\name\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\compat\__init__.py)

Against the above (1) pandas-compat has been installed, but it has not been improved. (2) I tried to change the version of pandas to 0.24, but it didn't improve.

The situation continues. Even if I searched for the error text, it seems that no one complained of the same symptoms as Zubari, so I decided to post it.

Recommended Posts

An error occurs when importing japandas (problem unsolved)
What to do if an error occurs when importing numpy with VScode
Rollback processing when an error occurs with fabric
A memorandum when an error occurs with pip install
After installing CentOS8 with VirtualBox, an error occurs when restarting
What to do when an error occurs with import _ssl
Undefined symbol error when importing torchvision
[Beanstalk] What to do when an error occurs with import uuid
Solution when an error occurs when hiding the console screen with PyInstaller
[Arch linux] Solution when package-query error occurs
[OSX] [pyenv] What to do when an SSL error occurs in pip
[Python] I want to know the variables in the function when an error occurs!
In the Chainer tutorial, I get an error when importing a package. (mock)
[python] What to do when an error occurs in send_keys of headless chrome
An error occurs when trying to import scikit-learn after connecting to Oracle with SQLAlchemy
I got an error when saving with OpenCV
[Python] Type Error:'WebElement' object is not iterable What to do when an error occurs
What to do if you get an error when importing matplotlib in Python (Mac)
What to do if you get an Import Error when importing matplotlib with Jupyter
I get an error when I put opencv in pyautoGUI
When OpenCV hconcat gives an error for some reason
I get an error when trying meinheld + WebSocket + mongodb
When you get an error in python scraping (requests)
I got an error when using Tensorboard with Pytorch