I´m having problems with Django installation.
Usually I have 3 partition on my machine (C:\ - OS + Y:\ +......)
I have the OS(Win8) installed at my Y:\ partition (Y:\Python27)
Inside my main installation (Y:\Python27) I´ve been installing the mudules below.:
When I installed "virtualenv", I´ve been creating inside my Y:\ partition a folder called "Projects" (that was the command I wrote to create a folder: >> virtualenv --no-site-packages Projects )
After that I activated the virtual environment and I ran the command to install Django (pip install django)
After django installation I run the "dir" command (inside the virtual environment created) to see the folders inside the "Projects" folder (<Projects>Y:\Projects).......and I got the following folders:
I found the "django-admin.py inside the Scripts folder. Than I went to Environment Variables and added to the System Variables (Path ) the following line (bold line):
Y: \ Program Files ( x86 ) \ ActiveState Komodo IDE 8 \ C: \ Program Files ( x86 ) \ NVIDIA Corporation \ PhysX \ Common C: \ Program Files ( x86 ) \ Intel \ ICLs Client \ C: \ Program Files \ Intel \ ICLs Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files \ Intel \ Intel ( R) Management Engine Components \ DAL C: \ Program Files \ Intel \ Intel ( R) Management Engine Components \ IPT C: \ Program Files ( x86 ) \ Intel \ Intel ( R) Management Engine Components \ DAL C: \ Program Files ( x86 ) \ Intel \ Intel ( R) Management Engine Components \ IPT C: \ Program Files \ Microsoft SQL Server \ 110 \ Tools \ Binn \ , Y : \ Python27 ; Y: \ Python27 \ Scripts; Y: \ Projects\Scripts ;
I went back to the CMD and inside the Virtual Environment (<Projects>Y:\Projects\Scripts) I ran the command: django-admin.py and I got the following message:
- Code: Select all
" " " " " " " " Traceback ( most recent call last ) :
File " Y : \ Projects \ Scripts \ django - admin.py " , line2 , in <module>
From django.core import management
Import Error : No module named django.core "" " " """"""
Just to let you know, I ran the command "pip list" inside the virtual environmet (<Projects>Y:\Projects) and I got the following modules installed.:
what am I doing wrong?