2017-10-12 90 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,它應該工作。