sudo pip install -e git+http://github.com/pika/pika.git@v0.5.2#egg=pika-v0.5.2 Then >>> import pika >>> pika.__version__ '0.9.6-pre0' I manually removed all pika on my system and did this pip install pika==0.5.2 all works now.