2017-10-12 104 views
-1

的代码是:收到这是为什么没有运行?

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' 
>>> 

回答

1

这是一个运行时错误,请关闭所有的Python程序,重新启动(如果你使用它)IDLE,它应该工作。