Hi,

I am trying to create a new project to work on. Have installed python and 
Django and tested they are working (Was able to get the version numbers for 
both from the shell).
But, It doesn't let me run " django-admin.py startproject"

it gives me this error. It looks like it doesn't recognise the sub commands.

<https://lh5.googleusercontent.com/-un8nk01VSgs/UA1uzql5WcI/AAAAAAAAAAY/JuNnJ0XSzFc/s1600/startproject.png>

I read through some forums and some suggestion was given to create 
VirtualENV as sometimes python doesn't let us create projects under 
"site-packages" or more than one. Since it already has Django, I thought 
that could be the problem.

I also thought it would help have a home folder for my project seperate 
from the Python folder. 

So, I installed VirtualENV using "python setup.py install"

And then I went to the path where "virtualenv.py" is (that is 
C:\Python27\Lib\site-packages) and tried to create the VirtualENV by typing 
this - virtualenv.py C:\SHIYAM\Personal\MyFolder\SOWL0.1

where "SOWL0.1" is an empty folder. It says "You must provide a DEST_DIR"

Then I tried virtualenv.py C:\SHIYAM\Personal\MyFolder\SOWL0.1\SOWL

SOWL doesn't exist. In case if the script wants to create it. 

I got the same error.

Then I added the path (C:\Python27\Lib\site-packages) to the windows 
environment Variable.

Then went to the destination folder in CMD prompt - 
C:\SHIYAM\Personal\MyFolder\SOWL0.1\SOW.

and typed "virtualenv.py SOWL". I get the same error.

Not sure how to move forward with this.

Any help is much appreciated.

Thanks,

SHM











-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/e5Zd0YgtqpEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to