django-extensions - "Error: no module named django_extensions"

1,915 views
Skip to first unread message

Victor Hooi

unread,
Dec 8, 2010, 9:48:45 PM12/8/10
to django...@googlegroups.com
heya,

I original thought to post this in the django-extensions group, however that seems like a fairly low-traffic group, so I  thought I'd post here in the hopes somebody here might be able to figure it out.

Basically, I've installed django-extensions via Pip
pip install django-extensions
Whenever I try to run any manage.py commands in my project, I get an error:
Error: No module named django_extensions
In my settings.py, I have:
INSTALLED_APPS = (
    ....
    'django_extensions',
In the Python shell,I can do a "import django_extensions" and it imports fine with no error messages.

Not sure what's going on here?

I also tried with django-extensions from Github, same error.

Cheers,
Victor

Christophe Pettus

unread,
Dec 8, 2010, 11:45:09 PM12/8/10
to django...@googlegroups.com

On Dec 8, 2010, at 6:48 PM, Victor Hooi wrote:
> Not sure what's going on here?

Is the django_extensions module on your PYTHONPATH?

--
-- Christophe Pettus
x...@thebuild.com

Victor Hooi

unread,
Dec 9, 2010, 1:49:44 AM12/9/10
to django...@googlegroups.com
heya,

Thanks for the reply. I'm fairly sure it is in the PYTHONPATH.

I'm using virtualenvs and pip to install, so it should be there in the system-wide Python directory for that environment.

Also, as per my first post, I can import it fine from a Python shell, it's just it seems to act up within Django...*confused*.

Cheers,
Victor
Reply all
Reply to author
Forward
0 new messages