“pip install bs4” 和 “pip install BeautifulSoup4” 之间有什么区别?

huangapple go评论87阅读模式
英文:

What's the difference between "pip install bs4" and "pip install BeautifulSoup4"?

问题

"pip install bs4" 和 "pip install BeautifulSoup4" 这两种安装方法有什么区别?

英文:

When I search about the installation of the BeautifulSoup lib, sometimes I see pip install bs4, and sometimes pip install BeautifulSoup4.

What's the difference between these 2 methods of installation?

答案1

得分: 1

bs4 在技术上是一个不同的软件包;然而,它是一个虚拟软件包,旨在安装正确的软件包:beautifulsoup4

https://pypi.org/project/bs4/

简而言之:您可以使用缩写名称或全名。

英文:

bs4 is technically a different package; however, it is a dummy package designed to install the correct package: beautifulsoup4.

https://pypi.org/project/bs4/

TLDR: You can use either the short name or long name

huangapple
  • 本文由 发表于 2023年3月7日 08:16:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/75656976.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定