Hi,what's wrong with the runserver

11 views
Skip to first unread message

Hannus

unread,
Sep 19, 2007, 9:08:06 AM9/19/07
to Django users
Hi,guys
After input the "manage.py runserver" ,there is the following
errors,what's wrong?The process of installation was always followed
the documents.My OS is winxp sp2,python is2.51.
--------------------------------------------------------------------------- -------------------------------------
Traceback (most recent call last):
File"D:\python25\lib\site-packages\django\bin\newsite\manage.py",line
11,in <module>
File"D:\python25\lib\site-packages\django\core
\managemet.py",line1657,in execute_manager
project_directory=setup-environ<settings_mod>
File"D:\python25\lib\site-packages\django\core
\managemet.py",line1649,in setup_environ
project_module=_import_<project_name,<>,<>,['']>
import error:no module named mysite
--------------------------------------------------------------------------- --------------------------------------
Thank you very much

kind regards
Han

Ramiro Morales

unread,
Sep 19, 2007, 9:25:36 AM9/19/07
to django...@googlegroups.com
On 9/19/07, Hannus <kyl...@gmail.com> wrote:
>
> Hi,guys
> After input the "manage.py runserver" ,there is the following
> errors,what's wrong?The process of installation was always followed
> the documents.My OS is winxp sp2,python is2.51.
> --------------------------------------------------------------------------- -------------------------------------
> Traceback (most recent call last):
> File"D:\python25\lib\site-packages\django\bin\newsite\manage.py",line
> 11,in <module>
> File"D:\python25\lib\site-packages\django\core
> \managemet.py",line1657,in execute_manager
> project_directory=setup-environ<settings_mod>
> File"D:\python25\lib\site-packages\django\core
> \managemet.py",line1649,in setup_environ
> project_module=_import_<project_name,<>,<>,['']>
> import error:no module named mysite

Hmm a few strange things:

* managemet.py does not exist on django
* The error is about a "mysite" project but above
thre is a \newsite\manage.py asi if the name of the
project were "newsite"

Are you sure that backtrace is a copy paste from the real one?

Also, it seems you are creating your project inside the bin subdir
of Django. Try creating it on another place of the file system.

--
Ramiro Morales

TungLiang Hannus

unread,
Sep 19, 2007, 9:37:58 AM9/19/07
to django...@googlegroups.com
yep,the new project name is newsite."Mysite" is my fault.I have tried
to make a directory in some other paths,however,the error is still
existing.
Perhaps I will install apache and mod_python.

2007/9/19, Ramiro Morales <cra...@gmail.com>:


--
耑此佈達
東涼

Reply all
Reply to author
Forward
0 new messages