adding –trusted-host to pycharm package installer
Question:
Answers:
In your output it shows that you are only supplying
--trusted-host
as the option and, the way PyCharm has built the command, it has tried to execute
pip install --trusted-host scipy
hence the error “You must give at least one requirement to install”. This is the same error as if you had just tried to execute pip install
with no arguments. It has interpreted scipy
as part of the --trusted-host
option, therefore you’re not trying to install anything.
Adding
--trusted-host pypi.org
as the option works for me.
You can also add the other hostname:
–trusted-host pypi.org –trusted-host files.pythonhosted.org
In your output it shows that you are only supplying
--trusted-host
as the option and, the way PyCharm has built the command, it has tried to execute
pip install --trusted-host scipy
hence the error “You must give at least one requirement to install”. This is the same error as if you had just tried to execute pip install
with no arguments. It has interpreted scipy
as part of the --trusted-host
option, therefore you’re not trying to install anything.
Adding
--trusted-host pypi.org
as the option works for me.
You can also add the other hostname:
–trusted-host pypi.org –trusted-host files.pythonhosted.org