Forum Archive

stash: pip install Pyro4 fails

georg.viehoever

Hi,

I am new to Pythonista, so forgive me if this has been discussed elsewhere:

I tried to install Pyro4 (a pure Python RPC package, https://pypi.python.org/pypi/Pyro4) using the pip command in stash:

pip install Pyro4

It correctly downloads, but fails somewhere during running setup.py, because files are not in the expected location (file mv fails). I am hoping that someone experienced with stash pip will have a look and improve it. It would be nice if pure python packages installed without problem.

My workaround for the moment: Download the .tgz file from pypi, and copy src/Pyro4 to site-packages.

Cheers,
Georg

PS: This was done with the current beta, but I suppose that's not different for the 1.5 version.

ccc

From http://pythonhosted.org/Pyro4/install.html#requirements

Pyro will default to using the serpent serializer so you will need to install Serpent as well, unless you configure Pyro to use one of the other serializers.

Did you install serpent?

georg.viehoever

Yes, i did install serpent. In this case, pip does the trick. I guess there is something special about the way that Pyro4 is packaged that is not handled properly by the Stash version of pip.

Georg