2023-02-10
Using Default Pypi.Org/Simple Index

packages like EdgeGPT may update overnight. mirrors won’t keep up. you need to fetch from the official package index.


to set the index:

1
2
pip set global.index-url https://pypi.org/simple

to use the index temporarily:

1
2
pip install <package> -i https://pypi.org/simple

Read More

2022-12-06
Mirror Sites Change

if it only blocks a range of ip, you use proxy to avoid this constraint.

some mirror sites serves us poorly and block access from us. we point them out, list alternatives and provide quick fixes.

these actions are intentionally done against specific group of people. it does block a whole range of IPs.

actors:

1
2
3
https://mirrors.aliyun.com
https://mirrors.tuna.tsinghua.edu.cn/

fixes:

currently we use some previously picked up tunnel accounts provided by topsap. may fix this problem?

python pip:

1
2
pip3 config set global.index-url https://mirrors.ustc.edu.cn/pypi/web/simple

taobao npm mirror:

1
2
3
http://npm.taobao.org => http://npmmirror.com
http://registry.npm.taobao.org => http://registry.npmmirror.com

Read More