You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @hh-wu@jfthuong - this might be a great addition. Currently my support to this project is limited but I will try to do my best to implement it over the next couple of weeks. I do find value in your proposed issue - I understand that some countries might have restrictions and issues with the main server bandwidth. Feel free to open a PR in the meantime to implement this. Otherwise I will try to support it in a couple of weeks. =)
📝 Description of the feature
In some countries (e.g. China), access to Pypi is a bit slow, especially when downloading huge modules like Tensorflow and other ML modules.
An efficient solution is to setup a mirror site for Pypi. For example in China you can use
https://pypi.tuna.tsinghua.edu.cn
.It would be nice to have a way to set-up a mirror, and even nicer to have a pre-polulated list.
Also, some users might use a private Pypi server in their company, which uses the same concept
💡 Steps for implementing the feature
pip
with this server🔗 Useful links and references
To use pip with a mirror:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
To set as default:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
Documentation of 2 mirrors (both in China):
The text was updated successfully, but these errors were encountered: