Installing Django to virtualenv on Windows

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

Open in new window

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

Where have I gone wrong?
Who is Participating?
Walter RitzelSenior Software EngineerCommented:
Try this:
python .\scripts\ startproject projectname

Open in new window

lz7cjcAuthor Commented:
easy when you know how, isn't it! thank you
Ben McNellyCommented:
I would also suggest trying out virtualenvwrapper when using virtualenv
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.