[rabbitmq-discuss] installing Pika

Jim Irrer irrer at umich.edu
Mon Jul 18 17:22:05 BST 2011


Never mind.  Got it working.

Thanks,

- Jim

Jim Irrer     irrer at umich.edu       (734) 647-4409
University of Michigan Hospital Radiation Oncology
519 W. William St.             Ann Arbor, MI 48103


On Fri, Jul 15, 2011 at 7:12 PM, Jim Irrer <irrer at umich.edu> wrote:

> Ok, I uninstalled Python 3, installed Python 2.7, and then tried to
> install setuptools but it complains:
>
> Python version 2.7 required, which was not found in the registry.
>
>
> and the installer does not allow any input after that.
>
> Thanks for your patience,
>
>
> - Jim
>
> Jim Irrer     irrer at umich.edu       (734) 647-4409
> University of Michigan Hospital Radiation Oncology
> 519 W. William St.             Ann Arbor, MI 48103
>
>
> On Fri, Jul 15, 2011 at 6:39 PM, Gavin M. Roy <gmr at myyearbook.com> wrote:
>
>> You'll need to install setuptools. It's a fairly common core bit with
>> Python installed on most systems.
>>
>> http://pypi.python.org/pypi/setuptools
>>
>> Once installed when you run:
>>
>> "easy_install pika"
>>
>> all dependencies are installed.
>>
>> Cheers,
>>
>> Gavin
>>
>>
>> On Fri, Jul 15, 2011 at 6:26 PM, Jim Irrer <irrer at umich.edu> wrote:
>>
>>> Forgot to add that there are also unresolved imports with
>>>
>>> urllib2
>>> pkg_resources
>>> main
>>>
>>>
>>> Thanks,
>>>
>>> - Jim
>>>
>>> Jim Irrer     irrer at umich.edu       (734) 647-4409
>>> University of Michigan Hospital Radiation Oncology
>>> 519 W. William St.             Ann Arbor, MI 48103
>>>
>>>
>>> On Fri, Jul 15, 2011 at 6:21 PM, Jim Irrer <irrer at umich.edu> wrote:
>>>
>>>> Fair enough.  So I am running this from Eclipse, and imported the
>>>> ez_setup.py
>>>> file into my project, set the grammar compatibility to 2.7, and get the
>>>> the different error on line 99
>>>>
>>>> import setuptools; setuptools.bootstrap_install_from = egg
>>>>
>>>>
>>>> *Unresolved import: setuptools*
>>>>
>>>>
>>>> Is there another library that I need to install first?
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> - Jim
>>>>
>>>> Jim Irrer     irrer at umich.edu       (734) 647-4409
>>>> University of Michigan Hospital Radiation Oncology
>>>> 519 W. William St.             Ann Arbor, MI 48103
>>>>
>>>>
>>>> On Fri, Jul 15, 2011 at 6:04 PM, Gavin M. Roy <gmr at myyearbook.com>wrote:
>>>>
>>>>> Pika does not work on Version 3 yet, it is only supported on 2.4->2.7
>>>>> and really should be used with 2.7 or 2.6.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Gavin
>>>>>
>>>>> On Fri, Jul 15, 2011 at 5:55 PM, Jim Irrer <irrer at umich.edu> wrote:
>>>>>
>>>>>> Hi -
>>>>>>
>>>>>> I'm trying to install Pika on a Windows 7 64 bit system, and according
>>>>>> to the
>>>>>> instructions at
>>>>>> http://www.rabbitmq.com/tutorials/tutorial-one-python.html
>>>>>> should first install easy_install, and then use that to install pip
>>>>>> (an installer
>>>>>> to install another installer to install what I want?  Whatever ...)
>>>>>> but am
>>>>>> getting the following error:
>>>>>>
>>>>>> C:\Program Files (x86)\Python32>python  d:\downloads\ez_setup.py
>>>>>>   File "d:\downloads\ez_setup.py", line 106
>>>>>>     except pkg_resources.VersionConflict, e:
>>>>>>                                         ^
>>>>>> SyntaxError: invalid syntax
>>>>>>
>>>>>>
>>>>>> Does anyone know how to proceed from here?
>>>>>>
>>>>>> FYI - This is a new install of Python 3 and I'm new to Python.  The
>>>>>> ez_setup.py
>>>>>> file was downloaded from
>>>>>> http://peak.telecommunity.com/dist/ez_setup.py .
>>>>>>
>>>>>> Thanks for any hints,
>>>>>>
>>>>>> - Jim
>>>>>>
>>>>>> Jim Irrer     irrer at umich.edu       (734) 647-4409
>>>>>> University of Michigan Hospital Radiation Oncology
>>>>>> 519 W. William St.             Ann Arbor, MI 48103
>>>>>>
>>>>>> _______________________________________________
>>>>>> rabbitmq-discuss mailing list
>>>>>> rabbitmq-discuss at lists.rabbitmq.com
>>>>>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110718/602e3f78/attachment.htm>


More information about the rabbitmq-discuss mailing list