想要下载一个安装包时
只需要在终端输入
pip3 install xx -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
其中XX为你安装包的名字
例如:
pip3 install opencv-python -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
想要下载一个安装包时
只需要在终端输入
pip3 install xx -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
其中XX为你安装包的名字
例如:
pip3 install opencv-python -i http://pypi.douban.com/simple --trusted-host pypi.douban.com