473,287 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

python 2.5 bug

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
10 2118
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
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
* (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
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
* 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
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
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
* (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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.