You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Pat Bateman <PB...@goldenweb.org> on 2011/06/27 10:21:36 UTC

Installing Python Qpid using PIP

I'm trying to install the Python client into a Virtual Environment using PIP, but have discovered that the structure of the tar.gz in non-standard, i.e. the setup.py file is not in the root directory.

pip install qpid-python  --index-url=http://localhost/pypi
Downloading/unpacking qpid-python
  Downloading qpid-python-0.10.tar.gz (457Kb): 457Kb downloaded
  Running setup.py egg_info for package qpid-python
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
    IOError: [Errno 2] No such file or directory: '/home/eaafadmin/ve/build/qpid-python/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
  File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/home/eaafadmin//ve/build/qpid-python/setup.py'


If I use the standard python setup.py install  mechanism this works as expected, but I needed to un-tar the distribution and be in the directory where the setup.py file is located.

I'm currently using Python 2.6.2, Python Qpid 0.8, VirtualEnv 1.6.1 and SetupTools 0.6

Please let me know if anyone has attempted to install Qpid in the same way, and if you over came these issues

Thanks

Pat