Dear Jeff and ALL,
I have recently installed Python 2.6.5 (the "official" version
downloaded from python.org) on a Windows XP machine (running Win XP
Professional Edition with Service Pack 2), after removing the previous
version of the interpreter (Python 2.5) and all associated libraries
(including the installed versions of MPL and Basemap for Python 2.5).
After that, I installed Matplotlib 0.98.5.3 for Python 2.6 and Basemap
0.99.4 (as this is the only version with a distribution package for
Windows compatible with Python 2.6).
Then, when I tried to import Basemap, I got the following error:
C:/Python26/pythonw.exe -u -i
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import sys, os, wx
from mpl_toolkits.basemap import Basemap
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
line 43, in <module>
import _geoslib, netcdftime
ImportError: DLL load failed with error code -1073741795
BTW, you may be musing why have I installed MPL 0.98.5 instead of the
latest version (0.99.1). It happens that before installing the older
version, I had indeed installed the latest version -- but in that
case, when attempting to import Basemap, I got one of that nasty error
reporting dialogue boxes of Win XP and Python not even issued an
Well, from the traceback message above, it seems that the interpreter
is not finding some required libraries, but shouldn't they be packaged
with Basemap for Windows (as stated in the documentation)?
Last, but not least, I should remark that I have never had any of
these problems under either Python 2.5 or Python 2.4.
Thanks in advance for any hints you can provide.
Dr. Mauro J. Cavalcanti
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
Linux Registered User #473524 * Ubuntu User #22717