pip 清华源

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

 

 

python -m pip install --upgrade pip
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

 上面这个遇到报这个, 需要更新pyyaml版本. 国内镜像不靠谱. 

class BaseLoader(Realoaderder, Scanner, Parser, Composer, BaseConstructor, BaseResolver): NameError: name 'Realoaderder' is not defined
 

使用官方镜像

python -m pip install --upgrade pip
pip config set global.index-url https://pypi.python.org/simple

 

 

pip config set global.index-url https://pypi.python.org/simple
posted @ 2023-08-07 21:54  Avicii_2018  阅读(143)  评论(0编辑  收藏  举报