簡體   English   中英

Python“ pip”工具從哪里獲得安裝的軟件包?

[英]From where does the Python 'pip' tool get the packages it installs?

我已經在Windows上使用命令提示符安裝了一些軟件包。 例如:

要升級pip版本,我使用了以下命令:

python -m pip install --upgrade pip

要安裝discord.py軟件包,我使用了以下命令:

python -m pip install -U discord.py

出於好奇...這些命令如何工作? 他們從哪里下載?

假設您要詢問包裝的來源是……從奶酪店,當然:)

Python軟件包索引Python軟件包索引(縮寫為PyPI),也稱為Cheese Shop,是Python的官方第三方軟件存儲庫。 它主要以稱為“ sdists”(源發行版)或預編譯輪的檔案的形式托管Python軟件包(您將在稍后看到)。 一句話:PyPI是Python社區所接受的龐大的在線模塊存儲庫。

https://pypi.org/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM