|
From: Pujo A. <aj...@gm...> - 2005-04-22 15:39:59
|
I found this error message when I import pylab. from pylab import * Error message: Microsoft Visual C++ Runtime Library Assertion failed! Program:c\python24\python.exe File:CXX/cxx_extentions.cxx Line:1031 Expression: ob_refcnt =3D=3D 0 For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts First I install in new computer python 2.4.1 then the error comes out. So I tried to reinstall with python 2.4 The problem still comes. Please help Pujo |
|
From: John H. <jd...@gm...> - 2005-04-23 14:45:12
|
On 4/22/05, Pujo Aji <aj...@gm...> wrote: > Error message: > Microsoft Visual C++ Runtime Library > Assertion failed! > Program:c\python24\python.exe > File:CXX/cxx_extentions.cxx > Line:1031 >=20 > Expression: ob_refcnt =3D=3D 0 > For information on how your program can cause an assertion > failure, see the Visual C++ documentation on asserts >=20 > First I install in new computer python 2.4.1 > then the error comes out. >=20 > So I tried to reinstall with python 2.4 > The problem still comes. Hmm, that's a strange one. We've seen this once before http://sourceforge.net/mailarchive/message.php?msg_id=3D8789882 and I can't remember what the solution was (the thread doesn't mention it) but it was resolved. I've CCd Gregory on this email to see if he can remember, since he once saw the same problem . Are you using the python from python.org? Does it help if you remove site-packages/matplotlib and then reinstall? Please create this simple test script import pylab pylab.plot([1,2,3]) pylab.show() and run it with > c:\python24\python myscript.py --verbose-helpful and paste in all the output and errors in your response after doing a clean reinstall, as well as your OS information .... JDH |
|
From: Pujo A. <aj...@gm...> - 2005-04-25 13:04:49
|
On 4/23/05, John Hunter <jd...@gm...> wrote: > On 4/22/05, Pujo Aji <aj...@gm...> wrote: >=20 > > Error message: > > Microsoft Visual C++ Runtime Library > > Assertion failed! > > Program:c\python24\python.exe > > File:CXX/cxx_extentions.cxx > > Line:1031 > > > > Expression: ob_refcnt =3D=3D 0 > > For information on how your program can cause an assertion > > failure, see the Visual C++ documentation on asserts > > > > First I install in new computer python 2.4.1 > > then the error comes out. > > > > So I tried to reinstall with python 2.4 > > The problem still comes. >=20 > Hmm, that's a strange one. We've seen this once before >=20 > http://sourceforge.net/mailarchive/message.php?msg_id=3D8789882 >=20 > and I can't remember what the solution was (the thread doesn't mention > it) but it was resolved. I've CCd Gregory on this email to see if he > can remember, since he once saw the same problem . >=20 > Are you using the python from python.org? Does it help if you remove > site-packages/matplotlib and then reinstall? Please create this > simple test script >=20 > import pylab > pylab.plot([1,2,3]) > pylab.show() >=20 > and run it with >=20 > > c:\python24\python myscript.py --verbose-helpful >=20 > and paste in all the output and errors in your response after doing a > clean reinstall, as well as your OS information .... >=20 > JDH > |
|
From: Pujo A. <aj...@gm...> - 2005-04-25 13:05:50
|
I use python org. I already uninstalled the matplotlib from windows add/remove program and verify that no matplotlib directory in site-packages. After that I reinstall the matplotlib again I use version 0.80 I can't import the matplotlib even in the minimum condition. For example I go to python shell and type import pylab, this raise the same error. I create your myscript.py and run it, but before it finished it shows the same message in windows forms like I send before, and I have to stop it. This processed is stop because I have to cancel the program (due to error message I sent). D:\>python myscript.py --verbose-helpful matplotlib data path c:\python24\share\matplotlib loaded rc file c:\python24\share\matplotlib\.matplotlibrc matplotlib version 0.80 verbose.level helpful interactive is False platform is win32 numerix Numeric 23.8 font search path ['c:\\python24\\share\\matplotlib'] my os is Windows XP Home Edition. Betriebssystemname Microsoft Windows XP Home Edition Version 5.1.2600 Service Pack 2 Build 2600 Betriebssystemhersteller Microsoft Corporation Systemname MARLIN Systemhersteller MEDIONPC Systemmodell MS-7091 Systemtyp X86-based PC Prozessor x86 Family 15 Model 3 Stepping 4 GenuineIntel ~3391 Mhz Prozessor x86 Family 15 Model 3 Stepping 4 GenuineIntel ~3391 Mhz BIOS-Version/-Datum Phoenix Technologies, LTD 6.00 PG, 12.10.2004 SMBIOS-Version 2.3 Windows-Verzeichnis C:\WINDOWS Systemverzeichnis C:\WINDOWS\system32 Startger=E4t \Device\HarddiskVolume1 Gebietsschema =D6sterreich Hardwareabstraktionsebene Version =3D "5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)" Benutzername MARLIN\Pujo Zeitzone Westeurop=E4ische Normalzeit Gesamter realer Speicher 511,48 MB Verf=FCgbarer realer Speicher 201,06 MB Gesamter virtueller Speicher 2,00 GB Verf=FCgbarer virtueller Speicher 1,96 GB Gr=F6=DFe der Auslagerungsdatei 1,22 GB Sorry it is in German, I live in Austria Sincerely Yours, Pujo Aji On 4/23/05, John Hunter <jd...@gm...> wrote: > On 4/22/05, Pujo Aji <aj...@gm...> wrote: >=20 > > Error message: > > Microsoft Visual C++ Runtime Library > > Assertion failed! > > Program:c\python24\python.exe > > File:CXX/cxx_extentions.cxx > > Line:1031 > > > > Expression: ob_refcnt =3D=3D 0 > > For information on how your program can cause an assertion > > failure, see the Visual C++ documentation on asserts > > > > First I install in new computer python 2.4.1 > > then the error comes out. > > > > So I tried to reinstall with python 2.4 > > The problem still comes. >=20 > Hmm, that's a strange one. We've seen this once before >=20 > http://sourceforge.net/mailarchive/message.php?msg_id=3D8789882 >=20 > and I can't remember what the solution was (the thread doesn't mention > it) but it was resolved. I've CCd Gregory on this email to see if he > can remember, since he once saw the same problem . >=20 > Are you using the python from python.org? Does it help if you remove > site-packages/matplotlib and then reinstall? Please create this > simple test script >=20 > import pylab > pylab.plot([1,2,3]) > pylab.show() >=20 > and run it with >=20 > > c:\python24\python myscript.py --verbose-helpful >=20 > and paste in all the output and errors in your response after doing a > clean reinstall, as well as your OS information .... >=20 > JDH > |