Python 为什么它没有运行?

Python 为什么它没有运行?,python,Python,代码是: import pandas as pd import Quandl df= Quandl.get('WIKI/GOOGL') print (df.head()) 收到错误: IDLE internal error in runcode() Traceback (most recent call last): File "C:\Users\dell\AppData\Local\Programs\Python\Python36-32\lib\idlelib\rpc.py", line

代码是:

import pandas as pd
import Quandl
df= Quandl.get('WIKI/GOOGL')
print (df.head())
收到错误:

IDLE internal error in runcode()
Traceback (most recent call last):
  File "C:\Users\dell\AppData\Local\Programs\Python\Python36-32\lib\idlelib\rpc.py", line 236, in asyncqueue
AttributeError: 'MyRPCClient' object has no attribute 'sockthread'
>>> 

这是一个运行时错误,关闭所有python进程,重新启动(如果您正在使用它)空闲,它应该可以工作