2017-10-04 258 views
0

我在spyder中收到以下錯誤消息。spyder中的錯誤消息,升級請求

警告:您使用的請求版本比request-oauthlib預期的要舊,請升級到2.0.0或更高版本。

我不知道如何升級請求。我使用Python 2.7作爲Anaconda安裝

+0

嘗試'conda install requests> = 2' – FabienP

回答

0

的一部分。根據pip install docs

-U, --upgrade 

Upgrade all specified packages to the newest available version. 
The handling of dependencies depends on the upgrade-strategy used. 

你可以試試這個:

pip install --upgrade requests 
+0

我嘗試了你的建議。我是「我的需求已經是最新的......」 – Mike

0

你應該嘗試conda install requests>=2,所以暢達將採取一切照顧依賴關係並嘗試安裝版本號requests以上2.0.0