pypdf2与PyPDF2是一样的吗?

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

Is pypdf2 the same as PyPDF2?

问题

I installed PyPDF2 using pip. The first time I used all lowercase, so I ran pip install pypdf2, and an application was downloaded and installed. However, I later realized (after reading the tutorial) that it is case-sensitive. So, I reinstalled PyPDF2 in the correct format. My questions are:

  • What did I install when I ran pip install pypdf2?
  • Is it the same program, or is it something else?
  • If it's something else, how can I check what I installed?
  • Could it be malware?
英文:

Using pip I installed PyPDF2. The first time i used all lowercase so pip install pypdf2, an application was downloaded and installed. However then I realized (by further reading the tutorial) that it is case sensitive. So then I installed PyPDF2 again in correct format. My questions would be:

  • What did I install when I did pip install pypdf2?
  • Is it the same program, or is it something else?
  • And if it is something else how can I check what I installed?
  • Could it be malware?

答案1

得分: 1

是的,它是相同的。软件包名称不区分大小写。

此外,您可以使用 pip freeze 命令来检查您已安装的软件包。它会提供您已安装的所有软件包的完整列表。

最后一点 - 您可以放心,它不是恶意软件。

英文:

Yes, it is the same. Package names are case insensitive.

Also, You can use pip freeze to check what packages you have installed. It will give you the full list of packages which you have installed.

And last one - You can relax. It isn't malware.

答案2

得分: 0

以下是要翻译的内容:

应该是相同的:

项目名称的比较不区分大小写

https://packaging.python.org/guides/distributing-packages-using-setuptools/#name

英文:

It should be the same:

> Comparison of project names is case insensitive

https://packaging.python.org/guides/distributing-packages-using-setuptools/#name

huangapple
  • 本文由 发表于 2020年1月6日 17:24:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/59609519.html
匿名

发表评论

匿名网友

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

确定