pip指定版本
需添加"==版本号",如:
pip install superset==0.20.4
pip指定安装源
需添加"-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com",习惯使用豆瓣pip源,如:
pip install mysqlclient -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
需添加"==版本号",如:
pip install superset==0.20.4
需添加"-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com",习惯使用豆瓣pip源,如:
pip install mysqlclient -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
本文标题:pip指定版本和源
本文链接:https://www.haomeiwen.com/subject/rgkzyxtx.html
网友评论