473,595 Members | 2,623 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 2135
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
7883
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
8379
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...
0
8251
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...
1
5839
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3873
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3911
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2391
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1490
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1223
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.