I am a total newbie when it comes to django. However I have experience with python, I know how to install modules etc. I work on Win7 x64 with Python 2.7
Here is what I did:
- Made sure Python environment variable is Set in %PATH%
- installed django with
pip install Djangoand checked afterwards if it installed (1.5.4) - added C:\Python27\Scripts to the environment variables (django-admin.py is there)
- restarted cmd
- enter
django-admin.py help- no Error nothing, jumps to next line - enter
django-admin.py startproject mysite- no Error, no Folder created, jumps to next line - enter
django-admin.py gsfögjsdfüoisudhihdsf- no Error, nothing jumps to next line - did a
pip uninstall Djangoand reinstalled it withpip install Djangoand tried started again at point 1
So now I have no idea what could be wrong. I even checked if the from django.core import management in the django-admin.py works - it does.
Any ideas?
Edit: Solved it by changing the .py associations. If you still encounter an error (like I did) go How to edit file associations
I am a total newbie when it comes to django. However I have experience with python, I know how to install modules etc. I work on Win7 x64 with Python 2.7
Here is what I did:
- Made sure Python environment variable is Set in %PATH%
- installed django with
pip install Djangoand checked afterwards if it installed (1.5.4) - added C:\Python27\Scripts to the environment variables (django-admin.py is there)
- restarted cmd
- enter
django-admin.py help- no Error nothing, jumps to next line - enter
django-admin.py startproject mysite- no Error, no Folder created, jumps to next line - enter
django-admin.py gsfögjsdfüoisudhihdsf- no Error, nothing jumps to next line - did a
pip uninstall Djangoand reinstalled it withpip install Djangoand tried started again at point 1
So now I have no idea what could be wrong. I even checked if the from django.core import management in the django-admin.py works - it does.
Any ideas?
Edit: Solved it by changing the .py associations. If you still encounter an error (like I did) go How to edit file associations
0 commentaires:
Enregistrer un commentaire