python如何安装beautifulsoup第三方库

在官网下载beautifulsoup安装包 https://pypi.org/project/beautifulsoup4/

python如何安装beautifulsoup第三方库

把压缩包解压到python的安装目录下,在c:\windows\system32找到cmd.exe,管理员身份打开,cd 到安装目录

python如何安装beautifulsoup第三方库

因为下载的beautifulsoup4,所以pip install beautifulsoup4

python如何安装beautifulsoup第三方库

如果提示要更新pip,要先cd 到C:\Windows\System32,pip install --upgrade pip更新后,按上一步安装即可

python如何安装beautifulsoup第三方库可通过pip list查看已安装的第三方库

python如何安装beautifulsoup第三方库