I have installed Python 3.4, Django 1.7, Postgresql 9.3 and psycopg2-2.5.4 (using the Windows installer at http://www.stickpeople.com/projects/python/win-psycopg/)
-- When I try a syncdb command from my virtualenv I get the following error:
(landy) C:\landy\cresta>python manage.py syncdb
Traceback (most recent call last):
File "C:\landy\lib\site-packages\django\db\backends\postgresql_psycopg2\base.p
y", line 23, in <module>
import psycopg2 as Database
ImportError: No module named 'psycopg2'
I am not sure if I needed to do:
> pip install psycopg2
...which gives the following:
error: Unable to find vcvarsall.bat
I have Visual Studio 2012 installed if that helps? Any other ideas?
Thanks.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6774474d-95c7-4fa1-b476-4369081abc0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment