[英]adding --trusted-host to pycharm package installer
在您的输出中,它表明您只提供
--trusted-host
作为选项,并且 PyCharm 构建命令的方式,它试图执行
pip install --trusted-host scipy
因此出现错误“您必须至少提供一项安装要求”。 这与您刚刚尝试不带参数执行pip install
时出现的错误相同。 它将scipy
解释为--trusted-host
选项的一部分,因此您不会尝试安装任何东西。
添加
--trusted-host pypi.org
因为该选项对我有用。
您还可以添加其他主机名:--trusted-host pypi.org --trusted-host files.pythonhosted.org
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.