By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,035 Members | 1,995 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,035 IT Pros & Developers. It's quick & easy.

python 2.5 bug

P: n/a
Hello,

I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle

What should I do?
Regards,
Vedran

Aug 11 '07 #1
Share this Question
Share on Google+
10 Replies


P: n/a
On Sat, 11 Aug 2007 02:41:26 -0700, vedrandekovic wrote:
I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle

What should I do?
Install 2.4 again. Both can be installed in parallel.

Ciao,
Marc 'BlackJack' Rintsch
Aug 11 '07 #2

P: n/a
On 11 kol, 11:59, Marc 'BlackJack' Rintsch <bj_...@gmx.netwrote:
On Sat, 11 Aug 2007 02:41:26 -0700, vedrandekovic wrote:
I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle
What should I do?

Install 2.4 again. Both can be installed in parallel.

Ciao,
Marc 'BlackJack' Rintsch
I need python 2.5 for work becose python 2.4 module tokenizer has no
attribute "untokenize"

Regards,
Vedran

Aug 11 '07 #3

P: n/a
* (Sat, 11 Aug 2007 02:41:26 -0700)
I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle

What should I do?
1. read "How To Ask Questions The Smart Way"[1]

2. read "How to Report Bugs Effectively"[2]

3. don't call something a "bug" if the "bug" is likely the person
sitting in front of your computer

4. don't do something you don't fully understand (in this case
installing Python 2.5 and uninstalling Python 2.4)
Thorsten
[1] http://catb.org/~esr/faqs/smart-questions.html
[2] http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Aug 11 '07 #4

P: n/a
ve***********@v-programs.com wrote:
On 11 kol, 11:59, Marc 'BlackJack' Rintsch <bj_...@gmx.netwrote:
>On Sat, 11 Aug 2007 02:41:26 -0700, vedrandekovic wrote:
I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle
What should I do?

Install 2.4 again. Both can be installed in parallel.

Ciao,
Marc 'BlackJack' Rintsch

I need python 2.5 for work becose python 2.4 module tokenizer has no
attribute "untokenize"
IMHO Python 2.4 was registered for .py files, Python 2.5 take precedence
when installed, but when Python 2.4 has been removed, it remove .py files
association too (so break Python 2.5 association).

* manually associate .py/.pyc/.pyo files to python.exe, .pyw files to
pythonw.exe.

* or reinstall Python 2.5 so that it re-setup ad-hoc associations.
Aug 11 '07 #5

P: n/a
* Laurent Pointal (Sat, 11 Aug 2007 20:09:03 +0200)
ve***********@v-programs.com wrote:
On 11 kol, 11:59, Marc 'BlackJack' Rintsch <bj_...@gmx.netwrote:
On Sat, 11 Aug 2007 02:41:26 -0700, vedrandekovic wrote:
I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle

IMHO Python 2.4 was registered for .py files, Python 2.5 take precedence
when installed, but when Python 2.4 has been removed, it remove .py files
association too (so break Python 2.5 association).

* manually associate .py/.pyc/.pyo files to python.exe, .pyw files to
pythonw.exe.

* or reinstall Python 2.5 so that it re-setup ad-hoc associations.
Yeah. Did the Original Poster mention any details about his problem.
Like - for instance - that he's using Windows?

Thorsten
Aug 11 '07 #6

P: n/a
On 11 kol, 20:58, Thorsten Kampe <thors...@thorstenkampe.dewrote:
* Laurent Pointal (Sat, 11 Aug 2007 20:09:03 +0200)
vedrandeko...@v-programs.com wrote:
On 11 kol, 11:59, Marc 'BlackJack' Rintsch <bj_...@gmx.netwrote:
>On Sat, 11 Aug 2007 02:41:26 -0700, vedrandekovic wrote:
I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle
IMHO Python 2.4 was registered for .py files, Python 2.5 take precedence
when installed, but when Python 2.4 has been removed, it remove .py files
association too (so break Python 2.5 association).
* manually associate .py/.pyc/.pyo files to python.exe, .pyw files to
pythonw.exe.
* or reinstall Python 2.5 so that it re-setup ad-hoc associations.

Yeah. Did the Original Poster mention any details about his problem.
Like - for instance - that he's using Windows?

Thorsten
Hello,

Now I was restart my windows and python 2.5 also.Now everything works
fine except python and py2exe script install ( of course something
must destroy my day ) now when I run:

$ cd c:\Python25\Lib\site-packages\
$ python mysetup.py py2exe
'python' is not recognized as an internal or external command,
operable program or batch file.

why?
Regards,
Vedran

Aug 11 '07 #7

P: n/a
Thorsten Kampe wrote:
Yeah. Did the Original Poster mention any details about his
problem. Like - for instance - that he's using Windows?
Don't you know the empiric law of platforms? :) "Users who ask about
OS specific problems and not state their platform are Windows
users."

Regards,
Björn

--
BOFH excuse #284:

Electrons on a bender

Aug 11 '07 #8

P: n/a
* (Sat, 11 Aug 2007 12:50:38 -0700)
On 11 kol, 20:58, Thorsten Kampe <thors...@thorstenkampe.dewrote:
* Laurent Pointal (Sat, 11 Aug 2007 20:09:03 +0200)
vedrandeko...@v-programs.com wrote:
On 11 kol, 11:59, Marc 'BlackJack' Rintsch <bj_...@gmx.netwrote:
On Sat, 11 Aug 2007 02:41:26 -0700, vedrandekovic wrote:
I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle
IMHO Python 2.4 was registered for .py files, Python 2.5 take precedence
when installed, but when Python 2.4 has been removed, it remove .py files
association too (so break Python 2.5 association).
* manually associate .py/.pyc/.pyo files to python.exe, .pyw files to
pythonw.exe.
* or reinstall Python 2.5 so that it re-setup ad-hoc associations.
Yeah. Did the Original Poster mention any details about his problem.
Like - for instance - that he's using Windows?
Now I was restart my windows and python 2.5 also.Now everything works
fine except python and py2exe script install ( of course something
must destroy my day ) now when I run:

$ cd c:\Python25\Lib\site-packages\
$ python mysetup.py py2exe
'python' is not recognized as an internal or external command,
operable program or batch file.

why?
Because the directory containing python.exe is not in your path. By
the way: the Python installation routine doesn't modify your path so
it is likely unrelated to that.

T.
Aug 11 '07 #9

P: n/a
On Aug 11, 12:32 am, Thorsten Kampe <thors...@thorstenkampe.dewrote:
4. don't do something you don't fully understand (in this case
installing Python 2.5 and uninstalling Python 2.4)
If we were all limited by that rule, none of us would never have used
a computer in the first place. Operating a computer is a learning
experience, no matter what level you're at (although admittedly the
lessons learned can sometimes be hurtful).

Aug 12 '07 #10

P: n/a
Dustan wrote:
On Aug 11, 12:32 am, Thorsten Kampe <thors...@thorstenkampe.dewrote:
>4. don't do something you don't fully understand (in this case
installing Python 2.5 and uninstalling Python 2.4)

If we were all limited by that rule, none of us would never have used
a computer in the first place. Operating a computer is a learning
experience, no matter what level you're at (although admittedly the
lessons learned can sometimes be hurtful).
Hi, I'm new to python. I'm male 48yo have a daughter, divorced. Live in
BA. Read Introduct me python and am at page 56 of shafting python the
right way. Have 220v alternate current (notice ! not 110v), my computer
is dirty, used to be whitish, got an epson printer (stylus c65). My
computer table is wood and some plastic. It's 16:05 and we are +4GMT
here, temp is 17Centigrades and no wind.
Ok. The question is....... shit, I forgot the question! Get to you later.

;c)

Aug 13 '07 #11

This discussion thread is closed

Replies have been disabled for this discussion.