Adding --trusted-host To Pycharm Package Installer
I am trying to add --trusted-host to Pycharm (2018.2.5 community editions) package installer. However it does not work. for exampl: python -m pip install scipy --trusted-host pypi
Solution 1:
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.
Post a Comment for "Adding --trusted-host To Pycharm Package Installer"