On 07/06/2010 11:40 AM, Michael Droettboom wrote:
(not that this question isn't unwelcome here, of course ;)
I mistyped -- I was merely trying to be friendly and say your question
is still welcome here. :)
Mike
Mike
On 07/06/2010 08:27 AM, Michael Pearce wrote:
Hi guys,
I just installed matplotlib (0.99.3) and numpy (1.4.1), for python
2.6 (I'm running on Win7). I used the Windows installer for both.
I added one line to my previously-working script:
import matplotlib.pyplot as plt
And I now get the following:
import matplotlib.pyplot as plt
File "C:\Python26\lib\site-packages\matplotlib\__init__.py", line
129, in <module>
from rcsetup import defaultParams, validate_backend, validate_toolbar
File "C:\Python26\lib\site-packages\matplotlib\rcsetup.py", line
19, in <module>
from matplotlib.colors import is_color_like
File "C:\Python26\lib\site-packages\matplotlib\colors.py", line 52,
in <module>
import numpy as np
File "C:\Python26\lib\site-packages\numpy\__init__.py", line 132,
in <module>
import add_newdocs
File "C:\Python26\lib\site-packages\numpy\add_newdocs.py", line 9,
in <module>
from lib import add_newdoc
File "C:\Python26\lib\site-packages\numpy\lib\__init__.py", line 4,
in <module>
from type_check import *
File "C:\Python26\lib\site-packages\numpy\lib\type_check.py", line
8, in <module>
import numpy.core.numeric as _nx
File "C:\Python26\lib\site-packages\numpy\core\__init__.py", line
5, in <module>
import multiarray
ImportError: DLL load failed: %1 is not a valid Win32 application.
Any idea what's going wrong?
Thanks,
-Michael
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first --http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA
--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel