python - django-admin.py error: from django.core import management ImportError: No module named django.core -


i have following error when tried run django-admin.py under windows8. have python27 installed , virtualenvwrapper-win

(juice) c:\>pip freeze django==1.6.5  (juice) c:\>django-admin.py traceback (most recent call last):   file "c:\users\mohamed\envs\juice\scripts\django-admin.py", line 2, in <module >     django.core import management importerror: no module named django.core  (juice) c:\> 

itried following solutions, none working:

modified read-only permission on virtualenv folder
checked path of follow:

(juice) c:\>python python 2.7.8 (default, jun 30 2014, 16:03:49) [msc v.1500 32 bit (intel)] on win 32 type "help", "copyright", "credits" or "license" more information. >>> import sys >>> path in sys.path: ...    print path ...  c:\users\mohamed\envs\juice\lib\site-packages\setuptools-0.6c11-py2.7.egg c:\users\mohamed\envs\juice\lib\site-packages\pip-1.3.1-py2.7.egg c:\python27 c:\python27\dlls c:\python27\lib c:\ c:\windows\system32\python27.zip c:\users\mohamed\envs\juice\dlls c:\users\mohamed\envs\juice\lib c:\users\mohamed\envs\juice\lib\plat-win c:\users\mohamed\envs\juice\lib\lib-tk c:\users\mohamed\envs\juice\scripts c:\users\mohamed\envs\juice c:\users\mohamed\envs\juice\lib\site-packages >>> 

also checked path sys variable , has c:\python27 listed.

any suggestion helpful.

======================================================== based on suggestion below added pythonpath system variable , tried django-admin.py , had same error! @ point thinking may should install django outside virtualenv. if pretty sure django-admin.py work, if defeats whole purpose of using virtualenv manage python packages.....


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -