I'm trying to setup clean environment for a demonstration of Django on Tuesday but I get the following when I try to setup the project within the virtual environment. You can see that if I just run python from within the virtual environment I do have access to the libraries, but if I try to use the django-admin.py script, the libraries aren't found. Any thoughts?
(django-tutorial) C:\dev\venv\django-tutorial>Scripts\django-admin.py startproject testsite
Traceback (most recent call last):
File "C:\dev\venv\django-tutorial\Scripts\django-admin.py", line 2, in <module>
from django.core import management
ImportError: No module named django.core
(django-tutorial) C:\dev\venv\django-tutorial>C:\dev\venv\django-tutorial\Script
s\python.exe
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.core import management
>>> management
<module 'django.core.management' from 'C:\dev\venv\django-tutorial\lib\site-pack
ages\django\core\management\__init__.pyc'>
>>>