471,305 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

Installing IPython on win2k

Hi, I'm new to python, and ipython, but not to programming, having trouble
getting ipython installed on windows 2000, python 233. Any help would be
much appreciated; I'm sure I'm being some basic flavor of dense...

First downloaded and installed PythonWin, readline and ctypes. They're all
pretty clearly here and working, because I can run PythonWin, and from
there, importing readline and ctypes works.

Then downloaded ipython-0.6.6.zip and unzipped it. When I double-click
setup.py, I get only a brief wait cursor; nothing else happens, and
importing ipython as a test fails.

I tried moving the whole unzipped dir to site-packages, no difference.

Both files in the scripts dir, ipython and pycolor, have no filename
extension, which seems odd to my newbie eye. I tried renaming them to .py,
still no difference.

My apologies for this basic question, and my no doubt ignorant flailing
about. Very much looking forward to getting this working.

Thanks,

Dave Merrill
Jul 18 '05 #1
3 1432
Dave Merrill wrote:
Hi, I'm new to python, and ipython, but not to programming, having trouble getting ipython installed on windows 2000, python 233. Any help would be much appreciated; I'm sure I'm being some basic flavor of dense...
First of all, rest assured that it does work (and quite
easily) so welcome to Python and iPython and I hope
the going's a bit smoother as you go along.
Then downloaded ipython-0.6.6.zip and unzipped it. When I double-click setup.py, I get only a brief wait cursor; nothing else happens, and
importing ipython as a test fails.
First of all, ipython isn't really an import into python; you run
it and it runs python (if you understand me). So when you've
installed it, I think it puts an item on your start menu. On
linux, it puts an executable ipython onto your path.

I've just downloaded and run the setup.py, and it does
create a Start Menu item which will start iPython. Look
out for that and see if it does the business.
Both files in the scripts dir, ipython and pycolor, have no filename
extension, which seems odd to my newbie eye. I tried renaming them to ..py, still no difference.
This is a unixism. Some unix types decry the use of file extensions
because the information the extension gives -- which executable
program to use -- is already embedded in the first line of a file.

My apologies for this basic question, and my no doubt ignorant flailing about. Very much looking forward to getting this working.

Thanks,

Dave Merrill


Good luck and happy hunting

TJG

Jul 18 '05 #2

"Tim G" wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
Dave Merrill wrote:
Hi, I'm new to python, and ipython, but not to programming, having

trouble
getting ipython installed on windows 2000, python 233. Any help would

be
much appreciated; I'm sure I'm being some basic flavor of dense...


First of all, rest assured that it does work (and quite
easily) so welcome to Python and iPython and I hope
the going's a bit smoother as you go along.


I'm having fun with python itself, but feeling a little constrained in the
IDE and debugger departments. (Not to mention the clues I haven't got...).

Then downloaded ipython-0.6.6.zip and unzipped it. When I

double-click
setup.py, I get only a brief wait cursor; nothing else happens, and
importing ipython as a test fails.


First of all, ipython isn't really an import into python; you run
it and it runs python (if you understand me). So when you've
installed it, I think it puts an item on your start menu. On
linux, it puts an executable ipython onto your path.

I've just downloaded and run the setup.py, and it does
create a Start Menu item which will start iPython. Look
out for that and see if it does the business.


Removed the files I'd unzipped and started over, putting a fresh unzip in
Program Files. Ran setup.py while watching the windows task list, and
pythonw ran for just a second, then disappeared. I saw no other signs of
anything running, and there's no shortcut for ipython in my start menu.

Both files in the scripts dir, ipython and pycolor, have no filename
extension, which seems odd to my newbie eye. I tried renaming them to

.py,
still no difference.


This is a unixism. Some unix types decry the use of file extensions
because the information the extension gives -- which executable
program to use -- is already embedded in the first line of a file.


So what do I do to try ipython directly, bypassing the shortcut (since I can
make my own later)? I tried right-click on scripts/ipython, Open With, and
chose python, but got only a quick DOS window.

Now what?

Thanks,

Dave Merrill
Jul 18 '05 #3
Fernando replied to a similar post of mine on the IPython list, and had a
suggestion that for some unknown reason, worked. Or rather, what's unknown
is why normal setup failed.

For the benefit of anyone else who has this issue, I unzipped the files into

C:\Program Files\ipython-0.6.6

....then opened a DOS window, and did the following two cmds:

cd C:\Program Files\ipython-0.6.6
"C:\Program Files\Python23\python.exe" setup.py install

Tons of DOS cmds spat out, the shortcut was created, and launching it
brought up the config wizard, then ipython.

I'd really love it if ipython could be invoked in the current debugger
context in PyDev under Eclipse. Is there any way to do that?

Thanks again,

Dave Merrill
Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Yaroslav Bulatov | last post: by
1 post views Thread by Jeremy Jones | last post: by
reply views Thread by Fernando Perez | last post: by
2 posts views Thread by Daniel Mark | last post: by
5 posts views Thread by Lou Pecora | last post: by
reply views Thread by Ville Vainio | last post: by
reply views Thread by Michele Simionato | last post: by
7 posts views Thread by Thorsten Kampe | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.