[Tutor] Connecting to MySQLdb

James Reynolds eire1130 at gmail.com
Sat Jun 2 01:46:59 CEST 2012


Virtualenv works just fine in windows
 On Jun 1, 2012 7:20 PM, "Corey Richardson" <corey at octayn.net> wrote:

> On Fri, 1 Jun 2012 19:01:00 -0400
> Nicholas Picciano <npicciano19 at gmail.com> <npicciano19 at gmail.com> wrote:
>
> > Hello,
> >
> > I have downloaded MySQLdb 1.2.3 from:
> >
> > http://pypi.python.org/pypi/MySQL-python
> >
> > Also, I'm using Python 2.7, but I can't even get past here:
> >
> > >>> import MySQLdb
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> > ImportError: No module named MySQLdb
> >
> > Thanks
>
> Did you install it?
>
> Assuming UNIX(-like):
>
> I highly, *highly* recommend you use a virtualenv [1] and, if you want
> a fancy UI, virtualenvwrapper [2]. From there you can install all the
> packages you want with pip, without having to worry about mucking up
> the system, versions of things, etc.
>
> Assuming Windows:
>
> Good luck!
>
> --
> Corey Richardson
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120601/4b67c875/attachment-0001.html>


More information about the Tutor mailing list