python - ImportError: No module named psycopg2.extensions -


i trying create app using geodjango , new this. after (failing) attempts @ making spatialite work, decided try out postgresql. following geodjango tutorial, , stuck @ python manage.py sqlall world line. when ran command (or python manage.py syncdb), got importerror: no module named psycopg2.extensions. looked online , realized needed install psycopg2, did via macports sudo port install py27-psycopg2. reran program , got same error. restarted computer , ran program again, , still got same error. know else might have caused this?

thanks!

ps. if cared know, stuck @ same command while testing out spatialite. consistently received 'databaseoperations' object has no attribute 'geo_db_type'error. looked around internet, didn't find answer , decided move on time being , maybe try again later.

pss. working on mac os x 10.7.5


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -