"SSL certificate verify failed" using pip to install packages
pip install --trusted-host pypi.python.org autopep8 (any package name)
This command will add pypi.python.org
to the trusted sources and will install all the required package.
I ran into the error myself and typing this command helped me install all the pip packages of python.
As stated here https://bugs.python.org/issue28150 in previous versions of python Apple supplied the OpenSSL packages but does not anymore.
Running the command pip install certifi
and then pip install Scrapy
fixed it for me