[blfs-support] Python Modules

Jean-Philippe MENGUAL jmengual at linuxfromscratch.org
Wed Mar 6 11:37:31 PST 2013


Thanks for these items. Don't you think the book could mention if some module
is compatible with Python 2, 3 or both? For example, I wonder what's about for
Pyrex. I tried python se!up.py install, with python 3, it doesn't work at all.
Is there some solution or is Python 2 mandatory for this module? If 2 is needed,
it means that 2 and 3 must be installed on the system at the same time. I'll
do this, although I don't find out this optimal. But is no choice exists...



On Wednesday 06 Mar 2013 à 23:15:34 (+1300), Simon Geard wrote:
> On Wed, 2013-03-06 at 01:02 +0100, Jean-Philippe MENGUAL wrote:
> > Hi,
> > 
> > Does someone have some experience about compatibility between the Python Modules
> > and Python2.7 / 3.3? In my case, pyrex doesn't seem to install with Python3.3.
> > Is it a known problem? Are a lot of modules incompatible with Python3.3?
> > Actually, can Python3.3 be used alone, or both Python2.7 and 3.3 need to be
> > present on the system for most modules?
> There's no general answer to that question - it depends a lot on the
> specific module. Some have separate versions for 2 vs 3 - others have
> one version that can support either. But in the latter case, the
> installation is usually specific to the Python version - you can't just
> install it once, and have it used by both 2 and 3 (you have to install
> two copies, even if it's the same source package).
> And yes, a lot of modules still don't support Python 3 at all.
> Simon.
> -- 
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page

More information about the blfs-support mailing list