Also, tried easy_install and this is what happens:

sudo easy_install MySQLdb
Password:
Searching for MySQLdb
Reading http://pypi.python.org/simple/MySQLdb/
Couldn't find index page for 'MySQLdb' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for MySQLdb
error: Could not find suitable distribution for Requirement.parse('MySQLdb')

On Dec 1, 2009, at 7:47 PM, James Dekker wrote:

> Gene,
> 
> That link / URL you sent me redirects to the Zope MySQL Adapter (same
> one I was using)...
> 
> Thanks for the e-mail,
> 
> James
> 
> On Tue, Dec 1, 2009 at 7:35 PM, Gene <yum...@gmail.com> wrote:
>> You may have the wrong package- ZMySQLDA is an adapter for zope.
>> 
>> I believe you want this
>> http://sourceforge.net/projects/mysql-python/files/mysql-python-test/1.2.3c1/MySQL-python-1.2.3c1.tar.gz/download
>> 
>> If you run into problems installing it, you may need to grab the
>> current release from subversion.
>> 
>> Also, I would highly recommend MacPorts for python + mysql on OSX for
>> ease of use. You can even grab the PIL and other python libraries from
>> the package system.
>> 
>> If you're interested. This blog post details how to do it:
>> http://rob.cogit8.org/blog/2007/Nov/14/installing-django-leopard-mac-os-105/
>> The post is written for Leopard but it works on Snow Leopard- just get
>> the appropriate Snow Leopard MacPorts package, and replace python2.4
>> with python2.6 in the instructions.
>> 
>> Cheers
>> G
>> 
>> On Dec 1, 3:23 pm, James Dekker <james.dek...@gmail.com> wrote:
>>> Hello there,
>>> 
>>> I am using Python 2.6.2 on OS X 10.6 ( Snow Leopard ).
>>> 
>>> Downloaded Django 1.1.1 and installed it by issuing:
>>> 
>>> sudo python setup.py install
>>> 
>>> Which placed Django-1.1.1-py2.6.egg-info and django dir inside the 
>>> site-packages directory:
>>> 
>>> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag 
>>> es
>>> 
>>> I went inside the django/bin directory and issued a chmod +x to 
>>> django-admin.py and also
>>> created a symbolic link for django-admin to my system path by doing this:
>>> 
>>> ln -ls 
>>> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag 
>>> es/django/bin/django-admin.py /usr/local/bin
>>> 
>>> Now, I am able to run django-admin startproject my_project_name anywhere 
>>> from the BASH shell...
>>> 
>>> My problem, however, is that I can't seem to figure out how to install the 
>>> MySQLdb package for Python / Django?
>>> 
>>> Downloaded the tar.gz from:
>>> 
>>> http://sourceforge.net/projects/mysql-python/
>>> 
>>> Unextracted it and can't seem to find a setup.py anywhere?
>>> 
>>> Here's the full contents of the extracted zip file:
>>> 
>>> CHANGES.txt
>>> README.txt
>>> CREDITS.txt
>>> VERSION.txt
>>> help
>>> db.py
>>> DA.py
>>> __init__.py
>>> icons
>>> DABase.py
>>> browse.dtml
>>> joinTM.py
>>> DEPENDENCIES.txt
>>> connectionAdd.dtml
>>> table_info.dtml
>>> NEWS.txt
>>> connectionEdit.dtml
>>> 
>>> Would apprecitiate it if someone could point me in the right direction...
>>> 
>>> Really am excited to learn Django...
>>> 
>>> Do I need to change any other settings before installing this Python MySQL 
>>> driver?
>>> 
>>> Happy programming,
>>> 
>>> James
>> 
>> --
>> 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To post to this group, send email to django-us...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>> 
>> 
>> 

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to