No module named ‘requests’

No module named ‘requests’

缺点刻画:

import requests ModuleNotFoundError: No module named ‘requests’

处置方法:

Step 1:翻开吩咐窗口,Win+R翻开运转窗口输出:cmd。

Step 2:加入python安置路途下的Scripts目次中,如:cd C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Scripts。

Step 3:再次输出吩咐:pip install requests。

分享到 :
相关推荐

Leave a Reply

Your email address will not be published. Required fields are marked *