Hello everyone,
Following the django tut I've sat up all the installation and reached the step where I had to run the command: django-admin.py startproject mysiteresult: I receive the error specified in the subject.I installed virtualenv (as said here) and activate it before running the command django-admin.py startproject mysite.Any suggestion for this problem? Thanks everyone.Configuration:
- Windows 7 & cmd.exe- Python2.7- virtualenviroment at: C:\Python27\fra_env\- PATH contains: C:\Python27\fra_env\Scripts- django-admin.py is in C:\Python27\fra_env\Scripts AND C:\Python27\fra_env\Lib\site-packages\django\binI hope someone can help me!Francesco--
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/-/v_l9HV306cIJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/kmyIAnk7cYcJ.
Hi Elena, I actually had the exact same problem Francesco was having. I wasn't able to start a project, and then I tried your question. The cmd line went something like this:(env) path/to/directory/python env/Scripts/django-admin.py startproject newprojectIt worked! While I'm happy with the result, I'd like to keep projects in the root folder, and typing out the path to django-admin.py every time seems like quite a hassle. Is there a way to point to the file without having to specify its location? All the tutorials and such that I've seen online simply use the django-admin.py startproject (name) convention and it works fine.Dan
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/-CfEO2H-RHsJ.
Quick note: when using virutalenv on Windows, one runs the activate script to use the environment. <env name>\Scripts\activate.batSame function as the source command in Linux.Dan Gentry
--
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/-/Msx_DI0lDi8J.