Link to home
Start Free TrialLog in
Avatar of lz7cjc
lz7cjc

asked on

Installing Django to virtualenv on Windows

Hi
I have set up a virtualenv and installed django after activating the virtualenv (env). I can see the django-admin.py file in the scripts folder within env. However when i try running
.\scripts\django-admin.py startproject projectname

Open in new window

it opens the file in notepad rather than running the python script.

Where have I gone wrong?
thanks
ASKER CERTIFIED SOLUTION
Avatar of Walter Ritzel
Walter Ritzel
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lz7cjc
lz7cjc

ASKER

easy when you know how, isn't it! thank you
I would also suggest trying out virtualenvwrapper when using virtualenv