pip install markdown
若要把 pip 源换成国内的,只需要把上面的代码改成这样(下图以清华大学源为例):
pip install markdown -i https://pypi.tuna.tsinghua.edu.cn/simple
把国内源设为默认
# 清华源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# 阿里源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
# 腾讯源
pip config set global.index-url http://mirrors.cloud.tencent.com/pypi/simple
# 豆瓣源
pip config set global.index-url http://pypi.douban.com/simple/
网友评论