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:
- Created a pip directory and then a pip.conf file in $HOME/Library/Application Support
To the pip.conf added code
[global] trusted-host = pypi.python.org pypi.org files.pythonhosted.org
Started installing using
$ pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org pip
Then tried pip install which worked, so used that to install numpy, pandas, geopy etc.
Successfully ran the Install CertificateCommand file in Applications/Python 3.7
Results:
- Installation via pip is working.
- Spyder3 is working
- Python 3.7 is working
- numpy, pandas, matplotlib, geopy are working
- 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"