0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

import pandasでエラーがでる。

Posted at

import pandasができなくなったので対処をメモする。

import pandas をするとしたのようなエラーが出てくる。

AttributeError: module 'pandas' has no attribute 'compat'
ImportError: cannot import name 'NA'

上のようなエラーが出てきたので困ったので対処をメモしておく。

pip install -U pandas

pythonでpandasのimportエラー
無理

!pip uninstall pandas -y

pandasがインポートできない件について (AttributeError)

無理

Can't get jupter to start #2344
上の記事を参考にして

pip install --upgrade pip
pip uninstall python-dateutil
pip install python-dateutil

これで一応
import pandas ができるようになったが、

ERROR: heroku 0.1.4 has requirement python-dateutil==1.5, but you'll have python-dateutil 2.8.1 which is incompatible.
ERROR: boto3 1.9.120 has requirement botocore<1.13.0,>=1.12.120, but you'll have botocore 1.13.8 which is incompatible.
ERROR: awscli 1.16.272 has requirement rsa<=3.5.0,>=3.1.2, but you'll have rsa 4.0 which is incompatible.

以上のようなエラーがでたので、他に響いていそう?
とりあえずはスルーした笑

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?