Thứ Năm, 11 tháng 1, 2018

pip install fails with “connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)”

Error SSL when install using pip

#  pip install --upgrade google-api-python-client
Collecting google-api-python-client
  Could not fetch URL https://pypi.python.org/simple/google-api-python-client/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579) - skipping
  Could not find a version that satisfies the requirement google-api-python-client (from versions: )
No matching distribution found for google-api-python-client

Solution:

# pip install --upgrade google-api-python-client --trusted-host pypi.python.org

Share This!


Không có nhận xét nào:

Đăng nhận xét