Error: No module named debug_toolbar

6,946 views
Skip to first unread message

Alec Taylor

unread,
Jan 3, 2012, 6:31:10 AM1/3/12
to django...@googlegroups.com
Unfortunately I keep getting this error, no mater what I do.

Here's what I've attempted: http://pastebin.com/jcrSSYvd

How do I solve this error?

Thanks for all suggestions,

Alec Taylor

Denis Darii

unread,
Jan 3, 2012, 7:31:49 AM1/3/12
to django...@googlegroups.com
Try to force the installation inside your env:

(Pinax-env) P:\Projects\Pinax>pip install --ignore-installed django-debug_toolbar


Alec Taylor

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




--
This e-mail and any file transmitted with it is intended only for the person or entity to which is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies.

Alec Taylor

unread,
Jan 3, 2012, 8:20:27 PM1/3/12
to django...@googlegroups.com
Thanks Denis, but unfortunately that didn't work.

On Tue, Jan 3, 2012 at 11:31 PM, Denis Darii <denis...@gmail.com> wrote:
> Try to force the installation inside your env:
>
> (Pinax-env) P:\Projects\Pinax>pip install --ignore-installed
> django-debug_toolbar
>

(Pinax-env) P:\Projects\Pinax>pip install --ignore-installed
django-debug_toolbar

Downloading/unpacking django-debug-toolbar
Downloading django-debug-toolbar-0.9.1.tar.gz (148Kb): 148Kb downloaded
Running setup.py egg_info for package django-debug-toolbar

Installing collected packages: django-debug-toolbar
Found existing installation: django-debug-toolbar 0.8.5
Uninstalling django-debug-toolbar:
Successfully uninstalled django-debug-toolbar
Running setup.py install for django-debug-toolbar

Successfully installed django-debug-toolbar
Cleaning up...

(Pinax-env) P:\Projects\Pinax>manage.py syncdb
Error: No module named debug_toolbar

Denis Darii

unread,
Jan 4, 2012, 3:55:46 AM1/4/12
to django...@googlegroups.com
Hi Alec,

I'm pretty sure that there is something that doesn't consider your active environment so django try to find debug_toolbar in your global packages.
To prove this, try to compare the list of your installed packages with and without virtualenv active.
So do:
(Pinax-env) P:\Projects\Pinax>pip freeze
(Pinax-env) P:\Projects\Pinax>deactivate
P:\Projects\Pinax>pip freeze

you can observe that "django-debug-toolbar==x.x.x" is't present in the second "global" list of packages.

Now you must understand what disables your virtualenv when you do "manage.py syncdb"
And as the first attempt, try to run the "manage.py syncdb" with your environment python executable, placed in (Pinax-env)/bin/python

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

Reply all
Reply to author
Forward
0 new messages