第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

python 的 EOFError: EOF when reading a line 是什么原因?

python 的 EOFError: EOF when reading a line 是什么原因?

紫衣仙女 2019-04-07 09:38:05
在程序執(zhí)行過程中,出現(xiàn)過如題的錯誤信息。google了一些,好像是python或部署的原因,但是有這些錯誤信息:Traceback(mostrecentcalllast):...File"/usr/local/lib/python2.7/urllib.py",line84,inurlopenreturnopener.open(url)File"/usr/local/lib/python2.7/urllib.py",line205,inopenreturngetattr(self,name)(url)File"/usr/local/lib/python2.7/urllib.py",line356,inopen_httpreturnself.http_error(url,fp,errcode,errmsg,headers)File"/usr/local/lib/python2.7/urllib.py",line369,inhttp_errorresult=method(url,fp,errcode,errmsg,headers)File"/usr/local/lib/python2.7/urllib.py",line663,inhttp_error_301returnself.http_error_302(url,fp,errcode,errmsg,headers,data)File"/usr/local/lib/python2.7/urllib.py",line632,inhttp_error_302data)File"/usr/local/lib/python2.7/urllib.py",line659,inredirect_internalreturnself.open(newurl)File"/usr/local/lib/python2.7/urllib.py",line205,inopenreturngetattr(self,name)(url)File"/usr/local/lib/python2.7/urllib.py",line356,inopen_httpreturnself.http_error(url,fp,errcode,errmsg,headers)File"/usr/local/lib/python2.7/urllib.py",line369,inhttp_errorresult=method(url,fp,errcode,errmsg,headers)File"/usr/local/lib/python2.7/urllib.py",line694,inhttp_error_401returngetattr(self,name)(url,realm)File"/usr/local/lib/python2.7/urllib.py",line758,inretry_http_basic_authuser,passwd=self.get_user_passwd(host,realm,i)File"/usr/local/lib/python2.7/urllib.py",line787,inget_user_passwduser,passwd=self.prompt_user_passwd(host,realm)File"/usr/local/lib/python2.7/urllib.py",line796,inprompt_user_passwdhost))EOFError:EOFwhenreadingaline這是權(quán)限問題?到底是什么問題呢?
查看完整描述

2 回答

?
白豬掌柜的

TA貢獻1893條經(jīng)驗 獲得超10個贊

安裝SublimeREPL,然后編譯python文件的時候,可以選擇【Tools】——【sublimeREPL】——【python】——【Python–RUNcurrentfile】即可提示用戶輸入。應(yīng)該可以解決sublime下面使用raw_input函數(shù)報錯的問題。
                            
查看完整回答
反對 回復(fù) 2019-04-07
  • 2 回答
  • 0 關(guān)注
  • 14508 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號