I am trying to install various python packages using pip in my virtual environment but couldn't install. If I try to install the same package not in virtual environment then it gets installed. Every time I get the different errors. I am pasting one of the errors below which I got while installing scrapy.
Command "/home/namita/venv/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-AHL0d8/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-Dk98DU-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/namita/venv/include/site/python2.7/cffi" failed with error code 1 in /tmp/pip-build-AHL0d8/cffi
And I also get below mentioned warning:
/home/namita/venv/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning
I tried visiting https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning but was not satisfied.