Gentoo Archives: gentoo-amd64

From: Tonko Mulder <tonko.mulder@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] error importing _mysql (mysql-python)
Date: Fri, 01 Feb 2008 07:53:39
Message-Id: 200802010853.33374.tonko.mulder@gmail.com
In Reply to: [gentoo-amd64] error importing _mysql (mysql-python) by Clemente Aguiar
1 Op Thursday 31 January 2008 19:05:55 schreef Clemente Aguiar:
2 > I have two versions of Python installed, ver 2.3.6 and 2.4.4.
3 >
4 > I also have dev-python/mysql-python version 1.2.2 installed.
5 >
6 > When I try "import _mysql" in version 2.4.4 it works, but in version
7 > 2.3.6 it gives the following error:
8 >
9 > Python 2.3.6 (#1, Jan 30 2008, 14:30:02)
10 > [GCC 4.1.2 (Gentoo 4.1.2)] on linux2
11 > Type "help", "copyright", "credits" or "license" for more information.
12 >
13 > >>> import _mysql
14 >
15 > Traceback (most recent call last):
16 > File "<stdin>", line 1, in ?
17 > ImportError: No module named _mysql
18 >
19 Why are you useing "_mysql", why not use "mysql"?
20 >
21 > Can anybody help with my problem?
22 >
23 > Note: the reason I am trying to use mysql with an older version of
24 > Python its because it is the version that Zope-2.8.91 is configured to
25 > use, so I am stuck.
26 >
27 > Clemente

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-amd64] error importing _mysql (mysql-python) Clemente Aguiar <clemente.aguiar@××××××××××××××××.pt>