前提・実現したいこと
macos上にて
python3 -m venv 名前
として仮想環境を立ち上げ、仮想環境内で
pip install requests
をしたいのですがSSLエラーが出ます。
発生している問題・エラーメッセージ
以下 sudo pip install requests を行ったエラーです
Could not fetch URL https://pypi.org/simple/requests/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/requests/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping Could not find a version that satisfies the requirement requests (from versions: ) No matching distribution found for requests pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
試したこと
brew install openssl
下記エラーです
Warning: openssl@1.1 1.1.1d is already installed and up-to-date
To reinstall 1.1.1d, run brew reinstall openssl@1.1
補足情報(FW/ツールのバージョンなど)
Python 3.7.2
pip 18.1
scraping/lib/python3.7/site-packages/pip (python 3.7)