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