Page 1 of 1
PythonMagick fails to configure
Posted: 2011-04-14T12:56:35-07:00
by treaves
The latest download of PythonMagick fails to configure with:
checking for a Python interpreter with version >= 3.1... none
configure: error: no suitable Python interpreter found
Does it really require a version of Python at least 3.1?
Re: PythonMagick fails to configure
Posted: 2011-08-07T03:43:29-07:00
by suinonatante
same problem here on a machine with debian testing, i can't install last version of pythonmagick.
Re: PythonMagick fails to configure
Posted: 2011-12-06T17:53:30-07:00
by DrLou
Seeing the same issue here - the message:
Code: Select all
checking for a Python interpreter with version >= 3.1... none
We do have installs of Python 2.6 and 3.2 (though would prefer to stick with 2.6 for the moment). We're experimenting with various incantations of The PYTHON env variable on the configure line.
Am also beginning to look into the configure script itself, but would rather not fiddle with someone else's work - and I'd probably do more damage than good! It does look like the script is designed to accommodate both major versions of Python, but I'm not the guy to fix it...
Can someone help, please? Lou
Re: PythonMagick fails to configure
Posted: 2011-12-06T18:49:51-07:00
by magick
We tried PythonMagick with both Python 2.6 (CentOS) and 2.7 (Fedora) and it compiled and installed without complaint. We're not sure why its failing for you.
Re: PythonMagick fails to configure
Posted: 2012-01-25T12:40:19-07:00
by aklhfex
Re: PythonMagick fails to configure
Posted: 2012-01-25T12:47:38-07:00
by aklhfex
Looks like there are a couple of other fixes used too:
Code: Select all
sed -e "s/AM_PATH_PYTHON(3.1)/AM_PATH_PYTHON(2.6)/" -i configure.ac
sed -e "s/import _PythonMagick/from . import _PythonMagick/" -i PythonMagick/__init__.py