pythondjangoaptana

Error: No module named staticfiles in django 1.3.1 + python 2.6? what's wrong


I didn't worked on the django project for somedays and now I return and I can't work on it. When I debug or run in eclipse aptana I get the "Error: No module named staticfiles" error.

But if I delete the "'django.contrib.staticfiles'," string in the "INSTALLED_APPS" from settings.py everything works fine but I have no access to the static files, as expected..

In those days I have installed Google app engine + python 2.5; can this be the problem and how to solve?

thank you very much*


Solution

  • Here are the steps I'd take to find out the problem:

    Here is how I would avoid this in future:

    [1] http://pypi.python.org/pypi/virtualenv

    [2] http://pypi.python.org/pypi/pip

    NB pip and easy_install are automatically installed into your new virtualenv