开发者

Why does django open with pype?

when i type in the command prompt

django-admin.py startproject mysite

the django-admin.py will open automatically with pype,

now if i type cd mysite it says the system cannot find the path specified

I'm using activepython (i don't think that activepython has anything to do with it), django installed using pypm. I can create a project in pydev, not in the command prompt开发者_StackOverflow, about a year ago when i first installed activepython, it used to work but as far as i can remember i deleted a django project and it won't work anymore.

how to fix it?

EDIT

@Mikko Ohtamaa mysite folder does not exist,i see on pype that it has opened the file from C:\Documents and Settings\Administrator\Application Data\Python\Scripts\django-admin.py

but the path is incorrect i don't have an application data folder in C:\Documents and Settings\Administrator\

I have searched the entire pc and haven't find a folder, furthermore in you run this 100 times

django-admin.py startproject mysite

it will keep opening a file called django-admin.py you know, nothing else


"but the path is incorrect i don't have an application data folder in C:\Documents and Settings\Administrator\"

This would mean that your Python or Django installation is corrupted (probably due to reinstall Python).

Try go to square zero and reinstall both Python and Djangon on your computer. Also if it still does not work please describe how did you install both of them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜