我下载了0.14.0版本的pandas并尝试导入它,但它说我丢失了dateutil
。我无法弄清楚我做错了什么。我正在使用Python 3.4.1版
下载:https://pypi.python.org/pypi/pandas/0.14.0/
我尝试导入pandas时得到的结果
没有名为'dateutil'Trackback的模块(最近一次调用最后一次):文件 “C:/Users/Joshua/PycharmProjects/test2/test2.py”,第5行,在 导入pandas文件“C:\ Python34 \ lib \ site-packages \ pandas__init __。py”,第6行,in 来自。 import hashtable,tslib,lib文件“tslib.pyx”,第37行,在init pandas.tslib中(pandas \ tslib.c:60928)ImportError:没有模块 名为'dateutil'
答案 0 :(得分:1)
我正在使用Anaconda,在使用conda update pandas
将pandas更新到最新版本后仍会出现此错误。
帮助
C:\Anaconda3>conda info
Current conda install:
platform : win-64
conda version : 3.8.3
conda-build version : 1.8.2
python version : 3.4.1.final.0
requests version : 2.5.1
root environment : C:\Anaconda3 (writable)
default environment : C:\Anaconda3
envs directories : C:\Anaconda3\envs
package cache : C:\Anaconda3\pkgs
channel URLs : http://repo.continuum.io/pkgs/free/win-64/
http://repo.continuum.io/pkgs/pro/win-64/
config file : None
is foreign system : False
C:\Anaconda3>conda list
# packages in environment at C:\Anaconda3:
#
anaconda 2.1.0 np19py34_0
argcomplete 0.8.1 py34_0
astropy 0.4.2 np19py34_0
beautiful-soup 4.3.2 py34_0
beautifulsoup4 4.3.2 <pip>
binstar 0.10.1 py34_1
bitarray 0.8.1 py34_1
blaze 0.6.3 np19py34_0
blz 0.6.2 np19py34_0
bokeh 0.6.1 np19py34_0
boto 2.32.1 py34_0
bottleneck 0.8.0 <pip>
cffi 0.8.6 py34_0
clyent 0.3.2 py34_0
colorama 0.3.1 py34_0
conda 3.8.3 py34_0
conda-build 1.8.2 py34_0
conda-env 2.0.1 py34_0
configobj 5.0.6 py34_0
cryptography 0.5.4 py34_0
cython 0.21 py34_0
cytoolz 0.7.0 py34_0
datashape 0.3.0 np19py34_1
dateutil 2.1 py34_2
decorator 3.4.0 py34_0
docutils 0.12 py34_0
dynd-python 0.6.5 np19py34_0
flask 0.10.1 py34_1
future 0.13.1 py34_0
greenlet 0.4.4 py34_0
h5py 2.3.1 np19py34_0
ipython 2.2.0 py34_0
ipython-notebook 2.2.0 py34_0
ipython-qtconsole 2.2.0 py34_0
itsdangerous 0.24 py34_0
jdcal 1.0 py34_0
jinja2 2.7.3 py34_1
launcher 1.0.0 1
libpython 1.0 py34_1
llvmpy 0.12.7 py34_0
lxml 3.4.0 py34_0
markupsafe 0.23 py34_0
matplotlib 1.4.0 np19py34_0
menuinst 1.0.4 py34_0
mingw 4.7 1
mock 1.0.1 py34_0
multipledispatch 0.4.7 py34_0
networkx 1.9.1 py34_0
nltk 3.0.0 np19py34_0
node-webkit 0.10.1 0
nose 1.3.4 py34_0
numba 0.14.0 np19py34_0
numexpr 2.3.1 np19py34_0
numpy 1.9.1 py34_0
openpyxl 1.8.5 py34_0
pandas 0.15.2 np19py34_0
patsy 0.3.0 np19py34_0
pip 1.5.6 py34_0
ply 3.4 py34_0
psutil 2.1.1 py34_0
py 1.4.25 py34_0
pycosat 0.6.1 py34_0
pycparser 2.10 py34_0
pycrypto 2.6.1 py34_2
pyflakes 0.8.1 py34_0
pygments 1.6 py34_0
pyopenssl 0.14 py34_0
pyparsing 2.0.1 py34_0
pyqt 4.10.4 py34_0
pyreadline 2.0 py34_0
pytables 3.1.1 np19py34_1
pytest 2.6.3 py34_0
python 3.4.1 2
python-dateutil 2.1 <pip>
pytz 2014.9 py34_0
pywin32 219 py34_0
pyyaml 3.11 py34_0
pyzmq 14.3.1 py34_0
requests 2.5.1 py34_0
rope 0.9.4 py34_1
rope-py3k-0.9.4 1 <pip>
runipy 0.1.1 py34_0
scikit-image 0.10.1 np19py34_0
scikit-learn 0.15.2 np19py34_0
scipy 0.15.1 np19py34_0
setuptools 12.0.5 py34_0
six 1.9.0 py34_0
sklearn-pandas 0.0.9 <pip>
sockjs-tornado 1.0.1 py34_0
sphinx 1.2.3 py34_0
spyder 2.3.1 py34_0
spyder-app 2.3.1 py34_0
sqlalchemy 0.9.7 py34_0
statsmodels 0.5.0 np19py34_2
sympy 0.7.5 py34_0
tables 3.1.1 <pip>
toolz 0.7.0 py34_0
tornado 4.0.2 py34_0
ujson 1.33 py34_0
werkzeug 0.9.6 py34_1
wheel 0.24.0 <pip>
winpdb 1.3.6 <pip>
xlrd 0.9.3 py34_0
xlsxwriter 0.5.7 py34_0