M2Crypto and python3
Hi there
This is a question more than an issue, sorry if this is not the right channel, please redirect me if it's not.
We run an application that depends on m2crypto, and we're moving to python3. I am quite surprised by the number of issues that I am running into when trying to install M2Crypto for python3.
Starting with fedora23 that is our first target, what I saw when dealing with this in a naive way is that
- as far as the mainstream fedora repo is concerned, there's only one rpm available and it is for python2
- so in an attempt to avoid building from sources I attempted to
pip3 install; long story short, the outcome after installing quite a few extra build dependencies was this:ImportError: /usr/lib64/python3.4/site-packages/M2Crypto/__m2crypto.cpython-34m.so: undefined symbol: PyFile_Check; which after some googling lead me to understand thatswigwas the culprit here; and at first sight it sounded like a dead end as far as python3. - Then I checked the pypi page about M2Crypto which indeed only mentions python2.
So I have to admit that I am a little confused here, and would greatly appreciate to know whether python3 is actually supported, and if so what is the recommended version/installation method.
Many thanks in advance