Wow! that worked perfectly! Thanks Marek, really appreciate it.<div><br></div><div>Mike<br><br><div class="gmail_quote">On Fri, Dec 9, 2011 at 4:11 AM, Marek Majkowski <span dir="ltr"><<a href="mailto:majek04@gmail.com">majek04@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Fri, Dec 9, 2011 at 12:05, Michael Morrison <<a href="mailto:mwmorrison93@gmail.com">mwmorrison93@gmail.com</a>> wrote:<br>
> Nevermind Marek, I see why it doesn't work. Let me ask you i don't have pip<br>
> set up on my machine, how do i find the gzip file with the correct version<br>
> of pika that I need?<br>
<br>
</div>I strongly suggest getting pip working. Have you tried running:<br>
sudo apt-get install python-pip<br>
<br>
Or:<br>
easy_install pip<br>
<br>
All this is described in first tutorial:<br>
<a href="http://www.rabbitmq.com/tutorials/tutorial-one-python.html" target="_blank">http://www.rabbitmq.com/tutorials/tutorial-one-python.html</a><br>
<br>
Installing python dependencies via pip is rather a standard practice<br>
these days, so I strongly suggest trying to get it working.<br>
<br>
A link to a tarball is quite easy to find on pypi:<br>
<a href="http://pypi.python.org/pypi/pika" target="_blank">http://pypi.python.org/pypi/pika</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Marek<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
><br>
> On Fri, Dec 9, 2011 at 4:02 AM, Michael Morrison <<a href="mailto:mwmorrison93@gmail.com">mwmorrison93@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Sorry i don't follow, can you explain to me why it wouldn't work? When I<br>
>> changed the value it did create an egg for 0.9.5 under my<br>
>> /usr/local/lib/python2.7/site-packages directory. I removed the 0.9.6_pre<br>
>> egg so i'm pretty sure i'm referencing the correct package now. If i remove<br>
>> the 0.9.5 egg from the site-packages directory i get an error message saying<br>
>> that the pika package could not be found if i replace it then i get the same<br>
>> error message regarding the 'sanitize' attribute. Thanks marek.<br>
>><br>
>> Mike<br>
>><br>
>><br>
>> On Fri, Dec 9, 2011 at 3:57 AM, Marek Majkowski <<a href="mailto:majek04@gmail.com">majek04@gmail.com</a>> wrote:<br>
>>><br>
>>> On Fri, Dec 9, 2011 at 11:48, Michael Morrison <<a href="mailto:mwmorrison93@gmail.com">mwmorrison93@gmail.com</a>><br>
>>> wrote:<br>
>>> > Thanks again, but i went and checked the setup.py file and noticed that<br>
>>> > it<br>
>>> > was set to install version 0.9.6_pre, i changed the value to 0.9.5 and<br>
>>> > reinstalled. I removed the 0.9.6 packages but i'm still getting the<br>
>>> > same<br>
>>> > error. Here's the output of the last install that i just ran. Really<br>
>>> > appreciate the help!<br>
>>><br>
>>> Altering the number in `setup.py` won't solve the problem.<br>
>>> You're using pika 0.9.6 and the tutorials are written for pika 0.9.5.<br>
>>><br>
>>> Try running: pip install pika==0.9.5<br>
>>><br>
>>> Marek<br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br></div>