私のpandasパッケージがインポートされません。 私はコマンドを使用してパンダを持っているかどうかを確認しようとするとPython-2.7のモジュールがインストールされたときにインポートされない
python -c "import pandas"
それは示し
<module 'numpy' from 'numpy.pyc'>
'module' object has no attribute 'dtype'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/pandas/__init__.py", line 6, in <module>
from . import hashtable, tslib, lib
File "numpy.pxd", line 157, in init pandas.hashtable (pandas/hashtable.c:21706)
AttributeError: 'module' object has no attribute 'dtype'
上記の 'import numpy'を試しましたか? – Zach
はい私は@ザックをしました –
あなたがそれを解決したことを嬉しく思います! – Zach