Hello all,

I've been trying to set up Django for quite some time now. I'm on Mac OS X 
Lion 10.7.4. As to my level of expertise, let's just say I'm pretty new 
to...computers. I guess I figured I'd just stumble around until it worked. 
How hard could it be right? Wrong. It seems like you all don't mind helping 
out newbies though, so I thought I'd give this a shot.

I'm running into problems with synchronizing Django with my database. I 
installed MySQL and MySQLdb. I created a database and edited the 
settings.py file according to instructions in the tutorial. However, I 
couldn't get it to work with the python manage.py syncdb command due to an 
"architecture" error. Keep in mind that I had, at this point, spent a 
really long time trying to set these babies up, and this is what finally 
stumped me.

So, I told MySQL and MySQLdb that I was taking my ball home if that's how 
they wanted to play. I downloaded and installed Homebrew, Macports, and 
postgreSQL (through Homebrew) with minimal fumbling. There was one error 
with my PATH but I fixed it in my .bash_profile. As per the advice of the 
internet and Homebrew's brew doctor, I amended "PATH so that 
/usr/local/bin occurs before /usr/bin." This allowed me to start up psql 
and create a database - at least it seemed like it worked, there was no 
satisfying little message about its dimensions like in MySQL.

Anyhoo, now when I do python manage.py runserver or python manage.py syncdb 
it tells me lots of stuff and "ImportError: No module named 
psycopg2.extensions." What does this mean, and how do I fix it? I am 
totally at a loss.

I'm sorry if the way I posed the question is long/confusing, but I wasn't 
really sure what information would be important. I can post the whole 
output from the terminal if it's helpful. It's really long though, and I 
had a hunch the last part is the important part. Any help would be greatly 
appreciated.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/_wB4nd4rqA4J.
To post to this group, send email to django-users@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