python(pip)加速
在使用pip install 的時候會很慢,而且你還是個急脾氣,咋整蕉毯?
pip install -h 看一下蹦疑,有沒有什么解決方案西雀?
package Index Options:
-i, --index-url <url> Base URL of the Python Package Index (default https://pypi.org/simple). This should point to a repository
compliant with PEP 503 (the simple repository API) or a local directory laid out in the same format.
使用 -i 參數(shù)重新指定python package index源。
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple django
https://pypi.tuna.tsinghua.edu.cn/simple
這個是我常用的一個源歉摧,可以根據(jù)你的需要替換成你自己的源艇肴。