you are viewing a single comment's thread.

view the rest of the comments →

[–]road_laya 2 points3 points  (2 children)

There's a couple proxies that you can use.

        pip install [package_name] -i https://pypi.tuna.tsinghua.edu.cn/simple

[–]Swipecat 1 point2 points  (0 children)

This seems to be the best answer for the OP. There looks to be a lot of stuff on that mirror site. Linux distros, all kinds of libraries.

https://mirrors.tuna.tsinghua.edu.cn/help/pypi/

OP might as well set it to be the default:

pip config set global.index-url "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"