Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SSL: CERTIFICATE_VERIFY_FAILED] error upon pip install #7

Open
khpeek opened this issue May 1, 2018 · 1 comment
Open

[SSL: CERTIFICATE_VERIFY_FAILED] error upon pip install #7

khpeek opened this issue May 1, 2018 · 1 comment

Comments

@khpeek
Copy link

khpeek commented May 1, 2018

I'm trying to pip install chromedriver_installer, but I'm getting the following error:

(venv) Kurts-MacBook-Pro-2:lucy-web kurtpeek$ pip install chromedriver_installer
Collecting chromedriver_installer
  Downloading https://files.pythonhosted.org/packages/c8/01/0a8a725bb605f68923aba16099a01cbbfe547c8b7dc96fd9a554424f6524/chromedriver_installer-0.0.6.tar.gz
Building wheels for collected packages: chromedriver-installer
  Running setup.py bdist_wheel for chromedriver-installer ... error
  Complete output from command /Users/kurtpeek/Documents/Dev/lucy/lucy-web/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/dc/nv4yxcrd0zqd2dtxlj281b740000gn/T/pip-build-ff302o9e/chromedriver-installer/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/dc/nv4yxcrd0zqd2dtxlj281b740000gn/T/tmpd0wnbewlpip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/chromedriver_installer
  copying chromedriver_installer/__init__.py -> build/lib/chromedriver_installer
  running build_scripts
  error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)>
  
  ----------------------------------------
  Failed building wheel for chromedriver-installer
  Running setup.py clean for chromedriver-installer
Failed to build chromedriver-installer
Installing collected packages: chromedriver-installer
  Running setup.py install for chromedriver-installer ... error
    Complete output from command /Users/kurtpeek/Documents/Dev/lucy/lucy-web/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/dc/nv4yxcrd0zqd2dtxlj281b740000gn/T/pip-build-ff302o9e/chromedriver-installer/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/dc/nv4yxcrd0zqd2dtxlj281b740000gn/T/pip-dr4oqd3y-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/kurtpeek/Documents/Dev/lucy/lucy-web/venv/bin/../include/site/python3.6/chromedriver-installer:
    running install
    running build
    running build_py
    creating build
    creating build/lib
    creating build/lib/chromedriver_installer
    copying chromedriver_installer/__init__.py -> build/lib/chromedriver_installer
    running build_scripts
    error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)>
    
    ----------------------------------------
Command "/Users/kurtpeek/Documents/Dev/lucy/lucy-web/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/dc/nv4yxcrd0zqd2dtxlj281b740000gn/T/pip-build-ff302o9e/chromedriver-installer/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/dc/nv4yxcrd0zqd2dtxlj281b740000gn/T/pip-dr4oqd3y-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/kurtpeek/Documents/Dev/lucy/lucy-web/venv/bin/../include/site/python3.6/chromedriver-installer" failed with error code 1 in /private/var/folders/dc/nv4yxcrd0zqd2dtxlj281b740000gn/T/pip-build-ff302o9e/chromedriver-installer/
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Any idea how to fix this?

@DmitryMarkovnikov
Copy link

DmitryMarkovnikov commented Sep 18, 2018

run this command /Applications/Python\ 3.6/Install\ Certificates.command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants