Open affvei opened 9 years ago
This is a problem installing m2crypto, and from the looks of it on 10.11. There isn't much we can do to help you.
I have the same:
UserMBP:aaa-web user$ env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" pip install M2Crypto==0.21.1
Requirement already satisfied (use --upgrade to upgrade): M2Crypto==0.21.1 in /Library/Python/2.7/site-packages
UserMBP:aaa-web user$ bin/buildout
Develop: '/Users/user/PycharmProjects/aaa/aaa-web/webapp' Updating mysql. Updating mysql-python. Installing celery. Not found: /Users/user/PycharmProjects/ncc/AaaWebPackages/dist/M2Crypto/ Not found: /Users/user/PycharmProjects/ncc/AaaWebPackages/dist/M2Crypto/ Getting distribution for 'M2Crypto==0.21.1'. SWIG/_m2crypto.i:31: Error: Unable to find 'openssl/opensslv.h' SWIG/_m2crypto.i:45: Error: Unable to find 'openssl/safestack.h' SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h' SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h' error: Setup script exited with error: command 'swig' failed with exit status 1 An error occurred when trying to install M2Crypto 0.21.1. Look above this message for any errors that were output by easy_install. While: Installing celery. Getting distribution for 'M2Crypto==0.21.1'. Error: Couldn't install: M2Crypto 0.21.1 UserMBP:aaa-web user$
This is a bug in m2crypto (see https://gitlab.com/m2crypto/m2crypto/issues/69). The easiest work around is to use the python-m2crypto package on ubuntu/debian until the pypi version is fixed. The docker build is broken because of this, currently working on fixing it.
I have M2Crypt installed. What it can be?