473,769 Members | 7,375 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2152
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.net wrote:
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.net wrote:
>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.net wrote:
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...@thors tenkampe.dewrot e:
* 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.net wrote:
>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...@thors tenkampe.dewrot e:
* 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.net wrote:
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...@thors tenkampe.dewrot e:
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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10216
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9997
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8873
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.