Home > Pinax, Ubuntu > Pinax update: breaks external dependencies

Pinax update: breaks external dependencies

Have you been working off the Pinax trunk only to be surprised by the following message after an update:
 Error: No module named notification

Basically what happened is summarized on the django-hotclub page, which I apparently should start paying closer attention to:
http://code.google.com/p/django-hotclub/wiki/MovingToDistutils

What this all means is that you will need to change your setup a bit to get Pinax to work in its new setup… What I had to do first was install pip and virtualenv
sudo easy_install pip
sudo easy_install virtualenv

If you need to setup easy_install or you have any trouble with the following step, try updating python-setuptools
sudo apt-get install python-setuptools

You will also need to install git and bzr as mentioned in the wiki page. On my Ubuntu box, it was simple as installing git-core and bzr
sudo apt-get install git-core
sudo apt-get install bzr

After that you need to run the following command to download the apps (Feb 6, typo fixed, thanks Vernon):
sudo pip install -r pinax/requirements/external_apps.txt

And then back to your normal:
python manage.py syncdb
python manage.py runserver

(of course this is just on your dev box…)

hope that helps.

Categories: Pinax, Ubuntu Tags:
  1. Vernon
    February 5th, 2009 at 20:48 | #1

    Thanks for the tip, I was just trying out pinax when I got the error message and google brought me here. Just one thing, there’s a typo in the command to download the apps, that should be an underscore rather than a dash, so the command is:

    sudo pip install -r pinax/requirements/external_apps.txt
    
  2. Seamus
    February 28th, 2009 at 10:40 | #2

    This is very helpful. Thanks for documenting the steps.

  3. May 20th, 2009 at 08:06 | #3

    GreetingS:
    ery ihteresting article, i have bookmarked your blog for fruture referrence. Best regards

  4. August 29th, 2010 at 02:25 | #4

    when i issued
    pip install -r pinax/requirements/external_apps.txt

    i got
    no such a file or directory:

    ‘pinax/requirements/external_apps.txt

    could you kindly advise me why?

  5. August 31st, 2010 at 23:29 | #5

    This post is pretty outdated now. They’ve probably changed the setup again…

  1. No trackbacks yet.