All pip install attempts are met with SSL error - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: All pip install attempts are met with SSL error (/thread-5668.html) |
All pip install attempts are met with SSL error - flycast - Oct-15-2017 Using Windows... Python 3.6.3 When I attempt to install anything using: Quote:C:\Users\Eric>pip install ssl I have found the trusted--host settings but this affects everything that I do in python. I have pyCharm and installing packages fail there as well for the same issue. How do I resolve this issue at it's root rather than using trusted--host workaround? RE: All pip install attempts are met with SSL error - metulburr - Oct-15-2017 is this a personal computer at home or a business computer that might have a web content filter? Quote:On Unix the default configuration file is: $HOME/.config/pip/pip.conf which respects the XDG_CONFIG_HOME environment variable.Do you have a config file with the content of...? [global] trusted-host = pypi.python.org RE: All pip install attempts are met with SSL error - flycast - Oct-15-2017 Thanks so much for your answer! Perfect! I did not have any folder or file for pip,ini. I created one with the trusted-host line and that helped. That hard codes the workaround. I can now install from the command line and in pyCharm. (Oct-15-2017, 09:13 PM)metulburr Wrote: is this a personal computer at home or a business computer that might have a web content filter? A personal computer with a simple network configuration. I also disabled my firewall as a test. My next question is what is the root cause? This seems like a work around. It bypasses python's attempt to prevent a man in the middle attack. It's like I need a cert installed on my system. How? RE: All pip install attempts are met with SSL error - achoyal92 - Jan-02-2019 (Oct-15-2017, 09:13 PM)metulburr Wrote: is this a personal computer at home or a business computer that might have a web content filter? Thank you. Was very helpful RE: All pip install attempts are met with SSL error - metulburr - Jan-02-2019 (Oct-15-2017, 09:41 PM)flycast Wrote: My next question is what is the root cause?i am not sure what the root cause of this is. I think it might be Pycharm related, but i am unsure. RE: All pip install attempts are met with SSL error - sathiq - Apr-26-2019 this worked https://python-forum.io/Thread-Cannot-update-or-install-anything-with-pip-SSL-error python -m pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip |