无法在 Python 上安装 beautifulsoup 和 requests

我下载了适用于 Windows 7 的 python 3.8 32 位,现在我正在尝试安装必要的软件包。但是,我得到:

"ERROR: Could not find a version that satisfies the requirement beautiful... / request... from versions: none
ERROR: No matching distributing found for requests-2.22.0 (same for beautifulsoup)

我什至更新了点子,python -m pip install --upgrade pip但也没有用。

http://img2.mukewang.com/6360d2f20001192b07090696.jpg

我错过了什么吗?Python 安装在:

C:\Users\Usuario\AppData\Local\Programs\Python\Python38-32\pythonw.exe. 
C:\Users\Usuario\AppData\Local\Programs\Python\Python38-32\Lib\idlelib\idle.pyw

并且包裹在:C:\Users\Usuario\Desktop\TATOEBA\Python


一只萌萌小番薯
浏览 193回答 2
2回答

DIEA

而不是 pip install beautifulsoup4-4.8.2,试试这个,pip&nbsp;install&nbsp;beautifulsoup4 pip&nbsp;install&nbsp;requests我认为,语法有问题,你在写。pip&nbsp;install&nbsp;<package_name>==&nbsp;<version>是正确的语法。

慕田峪4524236

如果 Saurabh Kansal 的回答不能解决问题,以防万一尝试 pip3 install beautifulsoup4
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python