public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Clemente Aguiar <clemente.aguiar@madeiratecnopolo.pt>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64] error importing _mysql (mysql-python)
Date: Thu, 31 Jan 2008 18:05:55 +0000	[thread overview]
Message-ID: <1201802755.2212.7.camel@caguiar-linux.local> (raw)
In-Reply-To: <5bdc1c8b0801291710o1ad3a371yf017c2c110395143@mail.gmail.com>

I have two versions of Python installed, ver 2.3.6 and 2.4.4.

I also have dev-python/mysql-python version 1.2.2 installed.

When I try "import _mysql" in version 2.4.4 it works, but in version
2.3.6 it gives the following error:

Python 2.3.6 (#1, Jan 30 2008, 14:30:02) 
[GCC 4.1.2 (Gentoo 4.1.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import _mysql        
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named _mysql
>>>    

Can anybody help with my problem?

Note: the reason I am trying to use mysql with an older version of
Python its because it is the version that Zope-2.8.91 is configured to
use, so I am stuck.

Clemente

-- 
gentoo-amd64@lists.gentoo.org mailing list



  parent reply	other threads:[~2008-01-31 18:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29 20:53 [gentoo-amd64] emul-linux-x86-soundlibs/emul-linux-x86-qtlibs emerge loop Mark Knecht
2008-01-29 21:27 ` Sebastian Redl
2008-01-30  0:14 ` Olivier Crête
2008-01-30  1:10   ` Mark Knecht
2008-01-30  2:48     ` David Fellows
2008-01-31 18:05     ` Clemente Aguiar [this message]
2008-02-01  7:53       ` [gentoo-amd64] error importing _mysql (mysql-python) Tonko Mulder
2008-02-01 10:20         ` Clemente Aguiar
2008-02-01 10:29           ` Tonko Mulder
2008-02-01 11:57             ` [SPAM] " Clemente Aguiar
2008-02-01 10:36           ` Steev Klimaszewski
2008-02-01 11:34             ` [SPAM] " Clemente Aguiar
2008-01-30  1:11   ` [gentoo-amd64] emul-linux-x86-soundlibs/emul-linux-x86-qtlibs emerge loop Scott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1201802755.2212.7.camel@caguiar-linux.local \
    --to=clemente.aguiar@madeiratecnopolo.pt \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox