[Matplotlib-users] Importing pylab causes exception
Hi, I'm using the Python(x,y) distribution which comes with matplotlib for Windows. My OS is Windows XP with all updates and service packs on an AMD Athlon 2600+ PC with ATI Radeon 9600 graiphics card. Python will work fine for anything that doesn't import the pylab component (I can import matplotlib itself no problem as well as numpy etc) but if I try to import pylab I get:- "An unhandled exception occured in pythonw.exe [3976]" I've tied reinstalling Python(x,y) and even reinstalling windows then Python(x,y) but to no avail. This seems odd to me as 2 other PCs at work install Python(x,y) and run Pylab fine. Any suggestions as to what I should check to track down this error? Thanks Jon __ Information from ESET NOD32 Antivirus, version of virus signature database 4888 (20100222) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Importing pylab causes exception - any ideas?
Hi, Sorry to repost but I'm tearing my hair out with this one I'm using the Python(x,y) distribution which comes with matplotlib for Windows. My OS is Windows XP with all updates and service packs on an AMD Athlon 2600+ PC with ATI Radeon 9600 graiphics card. Python will work fine for anything that doesn't import the pylab component (I can import matplotlib itself no problem as well as numpy etc) but if I try to import pylab I get:- "An unhandled exception occured in pythonw.exe [3976]" I've tied reinstalling Python(x,y) and even reinstalling windows then Python(x,y) but to no avail. This seems odd to me as 2 other PCs at work install Python(x,y) and run Pylab fine. Any suggestions as to what I should check to track down this error? Thanks Jon __ Information from ESET NOD32 Antivirus, version of virus signature database 4904 (20100301) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Importing pylab causes exception - any ideas?
Hi, Find attched log.txt generated when trying to run your script. Any thoughts? Regards Jon Friedrich Romstedt wrote: 2010/3/12 Jon Moore : I tried getting a colleague of mine to carryout your email but without any joy. Trying the import commands you suggested my colleague reported .mpl .dates and .pyplot all crashed with the same exception but .mlab worked ok. The import matplotlib.pylab with the custom import command didn't work as the exception occurs and the console (spyder) shuts down, so cannot see what happened. IPython also does the same, I'd like to try IDLE at some point. My colleague couldn't get the log file stuff to work (maybe as she doesn't normally use python), so I may have to wait until I'm next back there in 4-5 weeks to report back properly. Ok, maybe send your colleague the script attached. Simply run: $ python crashtest.py It creates ./log.txt with the log output of the packages attempted to load. The last line is the offending import. I also attach the result of my fully successful run. And when you find something out, maybe send it also to the list. Lots of success! Friedrich __ Information from ESET NOD32 Antivirus, version of virus signature database 5027 (20100414) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 5027 (20100414) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com matplotlib.mpl __future__ os re shutil os sys stat os.path fnmatch re subprocess sys os types traceback linecache sys types gc time signal threading sys thread warnings functools time traceback collections _abcoll _abcoll _collections operator keyword sys re thread thread msvcrt _subprocess sys warnings distutils.sysconfig os re string re strop sys distutils.errors distutils.version string re types sys os tempfile os errno random __future__ warnings types math math os binascii _random cStringIO fcntl thread rcsetup os warnings matplotlib.fontconfig_pattern re matplotlib.pyparsing string weakref UserDict _weakref exceptions copy types copy_reg org.python.core sys warnings re sre_constants xml.sax.saxutils _xmlplus xmlreader handler _exceptions sys handler _exceptions os sys os urlparse collections urllib string socket _socket _socket _ssl _ssl _ssl os sys warnings cStringIO errno os time sys urlparse warnings nturl2path ssl textwrap string re _ssl _ssl _ssl _ssl _ssl _ssl socket socket base64 re struct _struct _struct binascii types handler xmlreader codecs copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg copy_reg matplotlib.colors re numpy numpy.__config__ version _import_tools os sys add_newdocs lib info numpy.version type_check numpy.core.numeric info numpy.version multiarray umath numpy.core.multiarray _internal re sys numerictypes numpy.core.multiarray types __builtin__ _sort numpy.core.multiarray numeric sys multiarray umath umath numerictypes numerictypes _dotblas arrayprint sys numeric numerictypes umath multiarray fromnumeric multiarray umath numerictypes numeric types cPickle copy_reg __builtin__ cStringIO fromnumeric fromnumeric fromnumeric defmatrix sys numeric numeric numerictypes defchararray sys numerictypes numeric numeric records numeric defchararray numerictypes types os sys records memmap warnings numeric defchararray scalarmath numpy.core.multiarray numpy.core.umath numpy.core.umath fromnumeric numeric numpy.testing unittest time sys traceback os types decorators utils os sys re operator nosetester os sys numpytest os sys traceback nosetester nosetester numpy.core.numeric ufunclike numpy.core.numeric index_tricks sys numpy.core.numeric numpy.core.numeric numpy.core.numerictypes math function_base warnings types numpy.core.numeric numpy.core.numeric numpy.core.numeric numpy.core.umath numpy.core.fromnumeric numpy.core.numerictypes numpy.lib.shape_base numpy.core.numeric numpy.core.numeric numpy.core.fromnumeric numpy.lib.twodim_base numpy.core.numeric _compiled_base numpy.core.multiarray _compiled_base arraysetops numpy numpy sys re numpy.core.defmatrix function_base shape_base stride_tricks numpy twodim_base ufunclike scimath numpy.core.numeric numpy.core.numerictypes numpy.core.numeric numpy.lib.type_check polynomial re warnings numpy.core.numeric numpy.core numpy.lib.getlimits machar numpy.core.fromnumeric numpy.core.numeric numpy.core.numeric numpy.core.numerictypes numpy.core.numeric numpy numpy.lib.twodim_base numpy.lib.shape_base numpy.lib.function_base