[rabbitmq-discuss] Errors while running examples from RabbitMQ tutorial

Michael Morrison mwmorrison93 at gmail.com
Fri Dec 9 11:29:19 GMT 2011


Hey Marek, I think so but i'm not 100% positive now. I downloaded the pika
gzip (pika-pika-v0.9.5-94-g5e3e91b.tar.gz)  from
http://pypi.python.org/pypi/pika. The link that i'm clicking on
shows pika-0.9.5.tar.gz. Here's the output that's returned after i extract
and run setup.py install...thanks for the quick response! Mike

python setup.py install
running install
running bdist_egg
running egg_info
writing pika.egg-info/PKG-INFO
writing top-level names to pika.egg-info/top_level.txt
writing dependency_links to pika.egg-info/dependency_links.txt
reading manifest file 'pika.egg-info/SOURCES.txt'
writing manifest file 'pika.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/pika
copying build/lib/pika/reconnection_strategies.py ->
build/bdist.linux-i686/egg/pika
copying build/lib/pika/heartbeat.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/connection.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/spec.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/log.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/template.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/object.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/credentials.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/callback.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/utils.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/channel.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/exceptions.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/data.py -> build/bdist.linux-i686/egg/pika
creating build/bdist.linux-i686/egg/pika/adapters
copying build/lib/pika/adapters/tornado_connection.py ->
build/bdist.linux-i686/egg/pika/adapters
copying build/lib/pika/adapters/asyncore_connection.py ->
build/bdist.linux-i686/egg/pika/adapters
copying build/lib/pika/adapters/blocking_connection.py ->
build/bdist.linux-i686/egg/pika/adapters
copying build/lib/pika/adapters/twisted_connection.py ->
build/bdist.linux-i686/egg/pika/adapters
copying build/lib/pika/adapters/base_connection.py ->
build/bdist.linux-i686/egg/pika/adapters
copying build/lib/pika/adapters/select_connection.py ->
build/bdist.linux-i686/egg/pika/adapters
copying build/lib/pika/adapters/__init__.py ->
build/bdist.linux-i686/egg/pika/adapters
copying build/lib/pika/simplebuffer.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/frame.py -> build/bdist.linux-i686/egg/pika
copying build/lib/pika/__init__.py -> build/bdist.linux-i686/egg/pika
byte-compiling build/bdist.linux-i686/egg/pika/reconnection_strategies.py
to reconnection_strategies.pyc
byte-compiling build/bdist.linux-i686/egg/pika/heartbeat.py to heartbeat.pyc
byte-compiling build/bdist.linux-i686/egg/pika/connection.py to
connection.pyc
byte-compiling build/bdist.linux-i686/egg/pika/spec.py to spec.pyc
byte-compiling build/bdist.linux-i686/egg/pika/log.py to log.pyc
byte-compiling build/bdist.linux-i686/egg/pika/template.py to template.pyc
byte-compiling build/bdist.linux-i686/egg/pika/object.py to object.pyc
byte-compiling build/bdist.linux-i686/egg/pika/credentials.py to
credentials.pyc
byte-compiling build/bdist.linux-i686/egg/pika/callback.py to callback.pyc
byte-compiling build/bdist.linux-i686/egg/pika/utils.py to utils.pyc
byte-compiling build/bdist.linux-i686/egg/pika/channel.py to channel.pyc
byte-compiling build/bdist.linux-i686/egg/pika/exceptions.py to
exceptions.pyc
byte-compiling build/bdist.linux-i686/egg/pika/data.py to data.pyc
byte-compiling
build/bdist.linux-i686/egg/pika/adapters/tornado_connection.py to
tornado_connection.pyc
byte-compiling
build/bdist.linux-i686/egg/pika/adapters/asyncore_connection.py to
asyncore_connection.pyc
byte-compiling
build/bdist.linux-i686/egg/pika/adapters/blocking_connection.py to
blocking_connection.pyc
byte-compiling
build/bdist.linux-i686/egg/pika/adapters/twisted_connection.py to
twisted_connection.pyc
byte-compiling build/bdist.linux-i686/egg/pika/adapters/base_connection.py
to base_connection.pyc
byte-compiling
build/bdist.linux-i686/egg/pika/adapters/select_connection.py to
select_connection.pyc
byte-compiling build/bdist.linux-i686/egg/pika/adapters/__init__.py to
__init__.pyc
byte-compiling build/bdist.linux-i686/egg/pika/simplebuffer.py to
simplebuffer.pyc
byte-compiling build/bdist.linux-i686/egg/pika/frame.py to frame.pyc
byte-compiling build/bdist.linux-i686/egg/pika/__init__.py to __init__.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying pika.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying pika.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying pika.egg-info/dependency_links.txt ->
build/bdist.linux-i686/egg/EGG-INFO
copying pika.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying pika.egg-info/zip-safe -> build/bdist.linux-i686/egg/EGG-INFO
creating 'dist/pika-0.9.6_pre0-py2.7.egg' and adding
'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing pika-0.9.6_pre0-py2.7.egg
Removing /usr/local/lib/python2.7/site-packages/pika-0.9.6_pre0-py2.7.egg
Copying pika-0.9.6_pre0-py2.7.egg to /usr/local/lib/python2.7/site-packages
pika 0.9.6-pre0 is already the active version in easy-install.pth

Installed /usr/local/lib/python2.7/site-packages/pika-0.9.6_pre0-py2.7.egg
Processing dependencies for pika==0.9.6-pre0
Finished processing dependencies for pika==0.9.6-pre0




On Fri, Dec 9, 2011 at 3:16 AM, Marek Majkowski <majek04 at gmail.com> wrote:

> On Fri, Dec 9, 2011 at 11:05, Michael Morrison <mwmorrison93 at gmail.com>
> wrote:
> > Hello, i'm just getting started with RabbitMQ and have been reading
> through
> > the tutorials and trying to run the code samples in Python. I've
> installed
> > Pika 0.9.5 but when I run the following script, i get the error message
> down
> > below at the end of this post complaining that the 'CallbackManager'
> object
> > has no attribute 'sanitize': I'm not sure how to go about fixing this,
> any
> > help would be greatly appreciated.Thanks in advance for any responses.
>
> Are you absolutely positive that you installed pika 0.9.5?
>
> You might need to install it like that:
>   pip install pika==0.9.5
>
> Marek
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111209/4992b326/attachment.htm>


More information about the rabbitmq-discuss mailing list