This probably means that you installed gdal for 64 bits (e.g. an
installer ended in win-amd64) instead of for 32 bits (which seems your
platform).
Cheers,
Carlos
El 25/07/14 09:04, Wade Wall escribió:
Hi all,
I am new to Python and Spyder, so forgive me if this is an ignorant
question.
I am trying to import the package gdal but am receiving the error message
ImportError: DLL load failed: %1 is not a valid Win32 application
Not sure how to solve this. My Python interpreter is located at
C:/Python27. When I open this in Windows command line and import gdal,
everything works fine.
In Spyder, I have the Python interpreter set to
C:/Python27/python.exe. Sys.path is the same when I run Python from
the Windows command line or within Spyder. In addition, the error
message I receive in pointing to the same gdal package that
successfully imports in the Windows command line.
Any advice or suggestions would be welcome.
Thanks.
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.