469,160 Members | 1,970 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,160 developers. It's quick & easy.

Idle won't start when Python is installed in Program Files directory

Since I prefer to keep all my installed programs in one place, I went ahead
and installed Python in Program Files/Python. The command line shell seems
to work just fine, and I'm able to import things like urllib and its
dependencies.

However, I can't get Idle to startup. When I try running it manually (i.e.
python ...idle.py), I get
E:Program: can't open file 'Files\Python\python.exe

Obviously this is an error in in parsing the path name, but I can't figure
out where it's occurring. I've instrumented the python code, and it seems
to happen on the call to accept, but instrumenting the .c code and
rebuilding the socket library is more than I'm willing to do right now.
I'm also not sure it isn't being triggered in a different process (which
makes more sense to me), but I don't know why the main process would die in
accept. (I have prints before and after the call to self._sock.accept().).

In any event, the obvious workaround for me is to move my install.
However, I'm not sure if this is a known problem, a new problem, or a
"won't be fixed" problem.

Many thanks,

Gary
Jul 18 '05 #1
2 2429
In article <e1********************************@4ax.com>,
Gary Feldman <ga*************@ziplink.stopallspam.net> wrote:

In any event, the obvious workaround for me is to move my install.
However, I'm not sure if this is a known problem, a new problem, or a
"won't be fixed" problem.


http://www.python.org/2.3/bugs.html

There will likely be some fix made, but this is a difficult problem to
*keep* fixed on Windows.
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

This is Python. We don't care much about theory, except where it intersects
with useful practice. --Aahz
Jul 18 '05 #2
On 18 Aug 2003 13:19:52 -0400, aa**@pythoncraft.com (Aahz) wrote:

http://www.python.org/2.3/bugs.html


Thanks for the pointer. (Interestingly, I got a little confused by
following to the SourceForge bug pointers, because there's nothing on the
bug report page that clearly indicates the project. I guess they don't
expect people to get there by direct links.)

Gary

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Dave | last post: by
16 posts views Thread by Kerry Neilson | last post: by
1 post views Thread by Paul Dankoski | last post: by
reply views Thread by Tom McDavid | last post: by
4 posts views Thread by Sven Erik Knop | last post: by
8 posts views Thread by Jonathan Polley | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.