linux、macos下运行命令
vi ~/.pip/pip.conf
然后写入如下内容并保存
[global]
trusted-host = mirrors.aliyun.com
index-url = https://mirrors.aliyun.com/pypi/simple
测试
pip install pyspark
linux、macos下运行命令
vi ~/.pip/pip.conf
然后写入如下内容并保存
[global]
trusted-host = mirrors.aliyun.com
index-url = https://mirrors.aliyun.com/pypi/simple
测试
pip install pyspark
本文标题:pip使用阿里云源加快安装
本文链接:https://www.haomeiwen.com/subject/wmyhpqtx.html
网友评论