###やりたい事
pandasをimportしたい
###エラーが起きたコード
python
1import pandas as pd
###エラー内容
python
1Traceback (most recent call last): 2 File "C:\Users\name\AppData\Roaming\Python\Python36\site-packages\pandas\__init__.py", line 26, in <module> 3 from pandas._libs import (hashtable as _hashtable, 4ModuleNotFoundError: No module named 'pandas._libs' 5 6During handling of the above exception, another exception occurred: 7 8Traceback (most recent call last): 9 File "C:/myproject/project_1/main/main.py", line 2, in <module> 10 import pandas as pd 11 File "C:\Users\name\AppData\Roaming\Python\Python36\site-packages\pandas\__init__.py", line 35, in <module> 12 "the C extensions first.".format(module)) 13ImportError: C extension: No module named 'pandas._libs' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.
###環境
python3.7のanaconda環境です
pycharm
お願いします
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2018/11/09 13:32