Your Ad Here

Wednesday, January 4, 2012

Re: Error: No module named debug_toolbar

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

On Wed, Jan 4, 2012 at 2:20 AM, Alec Taylor <alec.taylor6@gmail.com> wrote:
Thanks Denis, but unfortunately that didn't work.

On Tue, Jan 3, 2012 at 11:31 PM, Denis Darii <denis.darii@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

> On Tue, Jan 3, 2012 at 12:31 PM, Alec Taylor <alec.taylor6@gmail.com> wrote:
>>
>> 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
>>

--
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.




--
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.

--
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.

0 comments:

Post a Comment