Ipython and python2.5

I couldn't find an answer on the iPython web site, does anyone know if iPython works with
python 2.5. I assume I have to rebuild from source on OS X with python 2.5 installed.
I have installed python 2.5 but when I run iPython is runs python 2.4.

···

**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************

Hi Samuel,

I couldn't find an answer on the iPython web site, does anyone know
if iPython works with
python 2.5. I assume I have to rebuild from source on OS X with
python 2.5 installed.
I have installed python 2.5 but when I run iPython is runs python 2.4.

Yes, ipython runs fine on python 2.5, but only as of the most recent
release, version 0.7.3, which you can get here:

http://ipython.scipy.org/moin/Download

If you have several versions of Python installed and you want to make
sure that ipython starts with 2.5, then run the code posted there as:

tar -xvzf ipython-0.7.3.tar.gz
cd ipython-0.7.3
python2.5 setup.py build
sudo python2.5 setup.py install

Let us know if this is not enough or if you have any other issues.

Cheers,

f

···

On 1/24/07, Samuel M. Smith <smithsm@...755...> wrote:

How about for Windows users? You list as dependencies:

# PyWin32 from http://starship.python.net/crew/mhammond

    But that link is broken. Can we just use
    pywin32-210.win32-py2.5.exe from
    http://sourceforge.net/projects/pywin32/ ?

# CTypes from http://starship.python.net/crew/theller/ctypes

    But that should not apply to Python 2.5+, right?

# PyReadline for Windows from
http://projects.scipy.org/ipython/ipython/wiki/PyReadline/Intro

    But the correct link now seems to be
    http://ipython.scipy.org/moin/PyReadline/Intro
    and the binary installer instructions there are Python
    2.4 specific. (I assume they translate directly to 2.5.)

So I installed PyWin32 as above, and PyReadline. I do NOT
see IPython in my Start Menu nor when I look at
Install/Uninstall programs. I do see an IPython folder in
Lib/site-packages, so I guessed I should call Shell.py, but
this is either a bad guess or IPython is failing: I briefly
see a shell labelled IPython flash on screen and disappear.

Thank you,
Alan Isaac

PS I did copy pyreadlineconfig.ini from pyreadline-egg/pyreadline/config to
my homedir.

···

On Wed, 24 Jan 2007, Fernando Perez apparently wrote:

Let us know if this is not enough or if you have any other issues.

> Let us know if this is not enough or if you have any other issues.

How about for Windows users? You list as dependencies:

# PyWin32 from http://starship.python.net/crew/mhammond

    But that link is broken. Can we just use
    pywin32-210.win32-py2.5.exe from
    http://sourceforge.net/projects/pywin32/ ?

Yes, should be the same thing.

# CTypes from http://starship.python.net/crew/theller/ctypes

    But that should not apply to Python 2.5+, right?

Correct, ctypes is now included.

# PyReadline for Windows from
http://projects.scipy.org/ipython/ipython/wiki/PyReadline/Intro

    But the correct link now seems to be
    http://ipython.scipy.org/moin/PyReadline/Intro
    and the binary installer instructions there are Python
    2.4 specific. (I assume they translate directly to 2.5.)

Yup.

We obviously need to update the windows documentation...

So I installed PyWin32 as above, and PyReadline. I do NOT
see IPython in my Start Menu nor when I look at
Install/Uninstall programs. I do see an IPython folder in
Lib/site-packages, so I guessed I should call Shell.py, but
this is either a bad guess or IPython is failing: I briefly
see a shell labelled IPython flash on screen and disappear.

As Dave said, you may need to run the post-install script manually.
The binary win32 installer does this for you because when the
installer is /built/, it is told what to do as a post-install step.
But a manual installation from source may require that step to be
applied manually (it's been years since I wrote that code, and much of
the win32 setup has been changed since by others, so take anything I
say here with a big grain of salt).

Cheers,

f

···

On 1/25/07, Alan G Isaac <aisaac@...310...> wrote:

On Wed, 24 Jan 2007, Fernando Perez apparently wrote:

tar -xvzf ipython-0.7.3.tar.gz
cd ipython-0.7.3
python2.5 setup.py build
sudo python2.5 setup.py install

works without complaint matplotlib 0.90.0 and python 2.5 on OS X 10.4.8

Thanks

> > Let us know if this is not enough or if you have any other issues.
>
> How about for Windows users? You list as dependencies:

[...]

We obviously need to update the windows documentation...

Done in SVN, thanks for reporting this.

regards,

f

···

On 1/26/07, Fernando Perez <fperez.net@...287...> wrote:

On 1/25/07, Alan G Isaac <aisaac@...310...> wrote:
> On Wed, 24 Jan 2007, Fernando Perez apparently wrote: