installing django on windows
I am having a bit of a time installing django on my local machine due to the fact that my local machine is windows. One thing I am having i开发者_如何学Gossues with is the includes
#!/usr/bin/env python
Every file has this inlclude. I set python in my global varibles so I can call on it like
python
or I can include it like
#!python
but not like
#!/usr/bin/env python
my assumption is that in order for this to work. I probably might have to move my interpreter to a folder called
c:/user/bin/env
Is this the case or is there a better way. I damn for sure dont want to change all the paths in all the folders.
You just need to set PATH environment variable (add path to python) and leave django files as them are.
精彩评论