Skip to content Skip to sidebar Skip to footer

Macos High Sierra 10.13.6, Python3.7 Installation Install Certificate.command Results In Sslerror

After installing python 3.7 from python.org, running the Install Certificate.command resulted in the below error. Please, can you provide some guidance? Why does Install Certificat

Solution 1:

wanted to answer my own question as I seem to have fixed most of the issues. The solution:

  1. Created a pip directory and then a pip.conf file in $HOME/Library/Application Support
  2. To the pip.conf added code

    [global] trusted-host = pypi.python.org pypi.org files.pythonhosted.org

  3. Started installing using

    $ pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org pip

  4. Then tried pip install which worked, so used that to install numpy, pandas, geopy etc.

  5. Successfully ran the Install CertificateCommand file in Applications/Python 3.7

Results:

  1. Installation via pip is working.
  2. Spyder3 is working
  3. Python 3.7 is working
  4. numpy, pandas, matplotlib, geopy are working
  5. Jupyter notebook is working

Outstanding: Still getting GeocoderServiceError and Brew doctor says vim missing python. Will raise separate questions for these.


Solution 2:

You don't need to run Install Certificate.command. You should reinstall Xcode command line tools that contains Python.

pip3 uninstall -y -r <(pip requests certifi)
brew uninstall --ignore-dependencies python3

sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
sudo xcode-select -r

python3 -m pip install --user certifi
python3 -m pip install --user requests

Post a Comment for "Macos High Sierra 10.13.6, Python3.7 Installation Install Certificate.command Results In Sslerror"