通过cmd命令使用pip安装库一般都是用的外部网站下载,所以很慢。这里可以使用
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
能把pip源一键切换到国内源,再进行pip操作安装库,下载都会很快啦
通过cmd命令使用pip安装库一般都是用的外部网站下载,所以很慢。这里可以使用
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
能把pip源一键切换到国内源,再进行pip操作安装库,下载都会很快啦