pip安装错误记录

由于经常用代理,pip安装时不知道什么原因关了代理也无法安装。

 解决方法:安装时添加信息项:如pip install geopandas --trusted-host pypi.tuna.tsinghua.edu.cn

 

pip3安装时安装到虚拟环境之外的环境

解决方法,pip3安装时指定安装虚拟环境所在路径:pip3 install pyspectral --target=..\envs\plot\Lib\site-packages --trusted-host pypi.tuna.tsinghua.edu.cn

posted @ 2023-10-11 11:28  花YY  阅读(19)  评论(0)    收藏  举报