Gentoo Archives: gentoo-amd64

From: Clemente Aguiar <clemente.aguiar@××××××××××××××××.pt>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] error importing _mysql (mysql-python)
Date: Thu, 31 Jan 2008 18:06:00
Message-Id: 1201802755.2212.7.camel@caguiar-linux.local
In Reply to: Re: [gentoo-amd64] emul-linux-x86-soundlibs/emul-linux-x86-qtlibs emerge loop by Mark Knecht
1 I have two versions of Python installed, ver 2.3.6 and 2.4.4.
2
3 I also have dev-python/mysql-python version 1.2.2 installed.
4
5 When I try "import _mysql" in version 2.4.4 it works, but in version
6 2.3.6 it gives the following error:
7
8 Python 2.3.6 (#1, Jan 30 2008, 14:30:02)
9 [GCC 4.1.2 (Gentoo 4.1.2)] on linux2
10 Type "help", "copyright", "credits" or "license" for more information.
11 >>> import _mysql
12 Traceback (most recent call last):
13 File "<stdin>", line 1, in ?
14 ImportError: No module named _mysql
15 >>>
16
17 Can anybody help with my problem?
18
19 Note: the reason I am trying to use mysql with an older version of
20 Python its because it is the version that Zope-2.8.91 is configured to
21 use, so I am stuck.
22
23 Clemente
24
25 --
26 gentoo-amd64@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] error importing _mysql (mysql-python) Tonko Mulder <tonko.mulder@×××××.com>