导入pandas语法错误?

时间:2017-10-30 21:53:25

标签: python pandas

之前我已经导入了大熊猫并且没有对pandas代码进行任何更改,但现在我开始看到这个错误了。我不知道该怎么办,因为我没有改变任何涉及熊猫的事情。有什么建议?提前致谢

Python 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:14:34) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pandas\__init__.py", line 23, in <module>
    from pandas.compat.numpy import *
  File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pandas\compat\__init__.py", line 361, in <module>
    from dateutil import parser as _date_parser
  File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\dateutil\parser.py", line 158
    l.append("%s=%s" % (attr, `value`))
                              ^
SyntaxError: invalid syntax

0 个答案:

没有答案