473,508 Members | 2,475 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PythonWin crash - works only once after installation

Hi,
I've installed Python 2.5 and PythonWin (pywin32-210.win32-py2.5) on
my new XP machine. The first time I run PythonWin after installation
it runs normally but if I close it and try to run it again it crashes
("PyWin32 has encountered a problem and needs to close") every time.
If I re-install it then it will run once more but subsequent runs
fail.
I've installed and ran this before (on my old machine and at work) and
it runs ok.

Any clues?

Thanks,
Ze'ev

Jun 15 '07 #1
1 1651
On Jun 15, 2:19 pm, Ze'ev <zeevb.pub...@gmail.comwrote:
Hi,
I've installed Python 2.5 and PythonWin (pywin32-210.win32-py2.5) on
my new XP machine. The first time I run PythonWin after installation
it runs normally but if I close it and try to run it again it crashes
("PyWin32 has encountered a problem and needs to close") every time.
If I re-install it then it will run once more but subsequent runs
fail.
I've installed and ran this before (on my old machine and at work) and
it runs ok.

Any clues?

Thanks,
Ze'ev
I found a workaround but this is still a mystery - if I delete the.pyc
files in site-packages/pythonwin/pywin/ then I can run Pythonwin again
(otherwise it crashes upon starting up).

Ze'ev

Jun 17 '07 #2

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

Similar topics

1
2091
by: R.Marquez | last post by:
I uninstalled my 2.2.2 version of Python and related packages from my XP Professional station and proceeded to upgrade to the latest and greatest: Python2.3, win32all-155.exe, etc. When I try to...
1
1975
by: Giovanni Ferraro | last post by:
Please help me install my PythonWin. I start pywin32-201.win32-py2.3.exe and the procedure locates automatically in the registry my d:\progammi\python python installation... However as I...
14
2868
by: Jive | last post by:
I've un-installed Python 2.4, re-installed Python 2.3 and PythonWin for 2.3, but it's still broke. When I start PythonWin, sometimes it looks like it is going to be okay. But as soon as I open...
2
2456
by: accolades | last post by:
Does anyone else have a problem with Pythonwin crashing after running a python script with graphics libraries? Whenever I use Pythonwin to run a PyGame or PyOgre script, Pythonwin crashes when the...
7
4188
by: Robert | last post by:
Hello, I'm using Pythonwin and py2.3 (py2.4). I did not come clear with this: I want to use win32-fuctions like win32ui.MessageBox, listctrl.InsertItem ..... to get unicode strings on the...
2
2311
by: robert | last post by:
There is a strange freeze/crash only on dual core machines: I have a python app (Python 2.3.5 /Pythonwin build 203 / Windows) running with no stability problems on normal machines (Or a crash is...
0
1027
by: Hertha Steck | last post by:
Using Python 2.5 with pywin32 build 210 on Windows XP Home, first try with PythonWin after installation of this version. Here are the header lines from the interactive window: PythonWin 2.5...
4
4363
by: siggi | last post by:
Hi all, newbie question: I'd like to try speech synthesis with PythonWin 2.5. Problem ****** according to several instructions, such as found on...
7
6577
by: Clive_S | last post by:
Hi I am trying to use Python with ArcGIS. I have installed Python 2.4. I have an icon for IDLE and command line. I do not see Python PythonWin. How do you install or launch pythonwin?? ...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7133
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...
0
7405
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...
1
7066
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...
0
5643
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,...
0
3214
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...
0
3198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
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 ...
0
435
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...

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.