Re: trying to upgrade Pyro

Irmen de Jong <[email protected]> Fri, 06 Mar 2015 20:21:34 +0100
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 5-3-2015 23:10, Richard wrote:
> When I look at the output of my Mac program, it still sees the older 
> Pyro version:

Your pip command is not running with the python version you think it is. This means the
pip install pyro4 upgraded it in a different python tree on your system than your
default python command comes from.

Apparently your easy_setup command does use the default system python and upgraded it in
the site packages folder of that version.

Two tips:
- be careful when sudo-ing a package upgrade, be sure it puts it in the place you
expect. You don't want to screw up your system python, for instance.
- you can check which python uses what Pyro from where easily by doing this on the
commandline:

$ python -m Pyro4.configuration
Pyro version: 4.35.dev0
Loaded from: d:\PROJECTS\pyro4\src\Pyro4
Python version: CPython 3.4.2 (Windows, nt)
Protocol version: 47
Currently active configuration settings:
AUTOPROXY = True
BROADCAST_ADDRS = <broadcast>, 0.0.0.0
COMMTIMEOUT = 0.0
....
....



Irmen


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/