Tuesday, February 1, 2011

AttributeError 'module' object has no attribute '__path'

I searched all help,
could not find a solution.

Windows7
python and django runs from cmd

1) to run python
c:\Python27\python

2)to run django and to create the project

c:\Python27\python c:\Python27\Scripts\django-admin.py startproject
Spokas

THERE is an error while trying to create tables and runserver

c:\Python27\python c:\amber\Spokas\manage.py runserver

AttributeError 'module' object has no attribute '__path'

I added *.pth files to different locations to check if it works:
c:\Python27\Libs\site-packages\Django
c:\Python27\Libs\site-packages
c:\amber
c:\amber\Spokas
None of directories nor none of their combination gave the result.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment