ImportError: No module named pip’ right after installing pip?
Jul 09, 2021 - by kurinchilamp / / Post Comment
ImportError: No module named pip' right after installing pip?
$ python --version
Go to the folder where you have installed python and the change to "Scripts" directory
> easy_install.exe pip
This should do the trick of setting up pip in your windows machine in case if pip is corrupted.
Continue Reading
Python PIP install: Insecure platform warning
Dec 21, 2016 - by kurinchilamp / / Post Comment
Normally, installing a python module and its dependencies is done via Pip. If HTTPS is blocked in private networks, then things might get tricky and you get the following message.
InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail.
To bypass this, you can issue the below command to trust pypi.python.org
$ pip install --trusted-host pypi.python.org Flask
To make sure that the needed module is installed, check it by
$ pip freeze
Continue Reading