public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Installing python packages for different versions
@ 2009-06-13 16:44 Florian Philipp
  2009-06-14 10:58 ` Khanh Nguyen
  2009-06-15  7:49 ` [gentoo-user] " Remy Blank
  0 siblings, 2 replies; 7+ messages in thread
From: Florian Philipp @ 2009-06-13 16:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]

Hi!

This is actually a follow-up for my thread "Trouble installing Plone".

Following scenario: I have packages which run on python-2.4 and other
packages which work with 2.5. Zope is a prominent example of the 2.4 gang.

The problem: When I emerge a python package, for example
dev-python/imaging, it is only installed in the
/usr/lib/python-2.*/site-packages directory of the python version which
is currently enabled by eselect.

Naturally, this is the most recent version: 2.5. However, as soon as a
python-2.4 package depends on one of these other packages, it just
doesn't work because it expects them in /usr/lib/python-2.4/site-packages.

How am I supposed to work around this?

My current workaround is to switch temporarily to python-2.4 and
re-emerge the necessary packages. However, this only works as long as
there are either 2.4-packages which depend on these re-emerged ones or
2.5-packages because portage purges the corresponding byte code in the
now disabled python directory.

Regards,

Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-15  7:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-13 16:44 [gentoo-user] Installing python packages for different versions Florian Philipp
2009-06-14 10:58 ` Khanh Nguyen
2009-06-14 16:03   ` Florian Philipp
2009-06-14 16:38     ` Mike Kazantsev
2009-06-14 17:53       ` Florian Philipp
2009-06-14 22:59         ` Mike Kazantsev
2009-06-15  7:49 ` [gentoo-user] " Remy Blank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox