Hi Francesco, What happens when you try:
$ cd C:\Python27\fra_env\ (or whatever the equivalent of this might be in the shell you are using) $ python Scripts\django-admin.py startproject mysite Regards, Elena :) On Mon, Nov 5, 2012 at 1:19 AM, Francescos <serafini.france...@gmail.com>wrote: > Hi Elena, > > Thanks for replying. > I guess the PATH var is well set. In fact, if I hit python into cmd.exe > and then import django everything work (I can print the django version, > as well). > So, Django is installed and reachable apparently. At this point I guess > there is a problem in looking for the modules.. > I also guess is important to consider that I am using > virtualenv<http://www.virtualenv.org/en/latest/> that, > once activated, it adds to the PATH this: C:\Python27\fran_env\Scriptswhere > is located django-admin.py. This file is also located here: > C:\Python27\fra_env\Lib\**site-packages\django\bin > > Francesco > > On Sunday, November 4, 2012 2:07:53 AM UTC, elena wrote: > >> Hi Francesco, >> >> What you're seeing is the most basic django/python error. It means that >> your python can't find django from your current path. >> >> You should start by checking for the simple things. >> >> What happens when you try putting the following in your terminal?: >> $ python >> >> and then: >> >>> import django >> >> Also where is your django-admin.py file located? >> >> Elena :) >> >> >> --- >> Elena :) >> @elequ >> 04022 90172 >> >> >> >> On Sun, Nov 4, 2012 at 6:24 AM, Francescos <serafini....@gmail.com>wrote: >> >>> 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 >>> mysite >>> result: I receive the error specified in the subject. >>> I installed virtualenv (as said >>> here<http://www.pip-installer.org/en/latest/installing.html#installation-instructions>) >>> 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\bin >>> >>> I 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<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<http://groups.google.com/group/django-users?hl=en> >>> . >>> >> >> -- > 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/-/kmyIAnk7cYcJ. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.