meatballs/DjAxelrod

Django debug toolbar not installing during provisioning

Closed this issue · 7 comments

  File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 86, in create
    module = import_module(entry)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named debug_toolbar

That was fixed yesterday, I believe. You may just need to re-provision your vm
Commit: 618df46

I take that back! It's not working on a clean vm either.

there is a dev.txt with the debug toolbar requirement in it
change the deploy to

pip install -r /vagrant/dev.txt

Something in requirements.txt is breaking pip completely

Looks like it's something to do with requests: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991

Fixed by using eay_install to install pip rather than apt-get. Looks like the ubuntu package for pip is out of date