使用默认的pip install指令安装python的包,有时候因为服务器在国外,所以安装速度比较慢,所以我们可以在使用指令的时候指定安装的镜像源(image)来进行提速,比如我们可以使用以下指令从豆瓣源镜像来安装pyinstall这个打包python程序成为exe可执行文件的包。
pip install pyinstaller -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
使用默认的pip install指令安装python的包,有时候因为服务器在国外,所以安装速度比较慢,所以我们可以在使用指令的时候指定安装的镜像源(image)来进行提速,比如我们可以使用以下指令从豆瓣源镜像来安装pyinstall这个打包python程序成为exe可执行文件的包。
pip install pyinstaller -i http://pypi.douban.com/simple --trusted-host pypi.douban.com