Question

I am trying to install scrapy on Windows XP (32bit) virtualenv:

pip install scrapy

The installer spits out this ambiguous error message:

error: Only found improper OpenSSL directories: ['E:\\cygwin', 'E:\\Program Files\\Git']

How should I configure openssl / pyOpenSSL to make pip work?

Was it helpful?

Solution

Apparently pyopenssl installation expects the binaries and libs to be laid out exactly as installed by OpenSSL windows binaries. Installing it from there (and not using cygwin's openssl for example), and adding the bin directory to the path solved this issue.

OTHER TIPS

Installing the newest package from that site with the default settings didn't work me. It seems to look for openssl.exe in your PATH and then look for the libraries in its parent directory. A quick fix is to find wherever openssl.exe got installed and add the directory to your path. For me it was:

set path=%path%;C:\OpenSSL-Win32\bin

I had the following problem trying to install pyOpenSSL using pip: Setup script exited with error: Unable to find vcvarsall.bat

After updating the setuptools (pip install -U setuptools), the pip install worked. I did not have to install any binaries manually.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top