Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; '21,': 0.07; 'importerror:': 0.07; 'skip:" 60': 0.07; 'subject:installation': 0.07; 'users,': 0.07; 'failed:': 0.09; 'throws': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'windows': 0.15; 'command.': 0.16; 'easy_install': 0.16; 'kris': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'discussion': 0.18; 'wed,': 0.18; 'bit': 0.19; 'module': 0.19; 'properly': 0.19; 'help.': 0.21; 'feb': 0.22; '>>>': 0.22; 'import': 0.22; 'email addr:gmail.com>': 0.22; 'issue.': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'load': 0.23; 'error': 0.23; '>>>': 0.24; 'dll': 0.24; 'package.': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'first,': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; '(c)': 0.29; '2009': 0.29; 'dec': 0.30; 'skip:& 60': 0.30; 'specified': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'getting': 0.31; '"",': 0.31; 'skip:& 70': 0.31; 'file': 0.32; 'url:python': 0.33; '(most': 0.33; 'could': 0.34; 'message.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'found.': 0.36; 'skip:" 50': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'so,': 0.37; 'skip:& 10': 0.38; 'pm,': 0.38; 'recent': 0.39; 'skip:& 20': 0.39; 'url:mail': 0.40; 'details.': 0.61; 'skip:6 10': 0.63; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'reserved.': 0.68; 'url:2011': 0.75; 'url:wordpress': 0.78; '2014,': 0.84; '2015': 0.84; 'leo': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=CYPhJf38GIXV9AnfdLcNrnkACbFv4nyAR8ky6vIoiCo=; b=zz2OXy7ZFX+/5WIR/+DoIo4mx4t1OGfO3ea65V6v8CGmfMh0kf4CSPoY4zDAxWfxS4 sOce/n4t+NH7gGO4UFaUlEbHkbWCZlm7veovlMM1ZJhV5CSD/tXnL8X1XUoUIVpseid+ V67FglqiMX/EFBabJw775tpmT9wyyDrvZKdwKbGEAlx1RJk6Tv6YlhVKJ7Zh5IQlfQCt GlNG9H92w+M2iaobXqb6epYRGXXpM83FXqFWIjaA+qtLDM/LBgd+97EqLli06JEE4XvG B+XG2Pk+sdK7l/DiSZVrCv0G9ZZu67NJfDeNVZaj8+GF+xk8Oqym5r05xHJV/Mbzz8lw n67Q== X-Received: by 10.194.5.37 with SMTP id p5mr4225523wjp.20.1423717360696; Wed, 11 Feb 2015 21:02:40 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Leo Kris Palao Date: Thu, 12 Feb 2015 13:02:20 +0800 Subject: Re: GDAL installation To: Asim Jalis Content-Type: multipart/alternative; boundary=047d7b5d57368b8235050edd073f Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 125 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423717370 news.xs4all.nl 2919 [2001:888:2000:d::a6]:51944 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85567 --047d7b5d57368b8235050edd073f Content-Type: text/plain; charset=UTF-8 Hi Asim, thanks for your help. It is working properly now. Thanks, -Leo On Wed, Feb 11, 2015 at 4:48 PM, Asim Jalis wrote: > Hi Leo, > > This might be a PATH issue. > > See this discussion for details. > > > https://pythongisandstuff.wordpress.com/2011/07/07/installing-gdal-and-ogr-for-python-on-windows/ > > Asim > > On Tue, Feb 10, 2015 at 9:11 PM, Leo Kris Palao > wrote: > >> Hi Python Users, >> >> I currently installed the Python 2.7.9 and installed the GDAL package. >> First, I tried to install GDAL using PIP but it throws an error - I cannot >> remember the exact error message. So, I install it using easy_install >> command. But when I import the package I am getting this message, which I >> really don't understand. >> >> Microsoft Windows [Version 6.1.7601] >> Copyright (c) 2009 Microsoft Corporation. All rights reserved. >> >> C:\Users\lpalao>python >>> Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit >>> (AMD64)] on win32 >>> Type "help", "copyright", "credits" or "license" for more information. >>> >>> import gdal >>> Traceback (most recent call last): >>> File "", line 1, in >>> File "C:\Python27\Python2.7.9\lib\site-packages\gdal.py", line 2, in >>> >>> from osgeo.gdal import deprecation_warn >>> File "C:\Python27\Python2.7.9\lib\site-packages\osgeo\__init__.py", >>> line 21, in >>> _gdal = swig_import_helper() >>> File "C:\Python27\Python2.7.9\lib\site-packages\osgeo\__init__.py", >>> line 17, in swig_import_helper >>> _mod = imp.load_module('_gdal', fp, pathname, description) >>> ImportError: DLL load failed: The specified module could not be found. >>> >>> >> >> >> Thanks in advance, >> -Leo >> >> -- >> https://mail.python.org/mailman/listinfo/python-list >> >> > --047d7b5d57368b8235050edd073f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Asim, thanks for your help. It is working properly now.=

Thanks,
-Leo

On Wed, Feb 11, 2015 at 4:48 PM, Asim = Jalis <asimjalis@gmail.com> wrote:
Hi Leo,

This might b= e a PATH issue.

See this discussion for details.
=


Asim

O= n Tue, Feb 10, 2015 at 9:11 PM, Leo Kris Palao <lk.palao@gmail.com>= ; wrote:
Hi Python Users,

I currently = installed the Python 2.7.9 and installed the GDAL package. First, I tried t= o install GDAL using PIP but it throws an error - I cannot remember the exa= ct error message. So, I install it using easy_install command. But when I i= mport the package I am getting this message, which I really don't under= stand.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.=C2=A0 All rights reserve= d.

C:\Users\lpalao>python
Python= 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)] on win3= 2
Type "help", "copyright", "credits" or &= quot;license" for more information.
>>> import gdal
Tra= ceback (most recent call last):
=C2=A0 File "<stdin>", l= ine 1, in <module>
=C2=A0 File "C:\Python27\Python2.7.9\lib\s= ite-packages\gdal.py", line 2, in <module>
=C2=A0 =C2=A0 from= osgeo.gdal import deprecation_warn
=C2=A0 File "C:\Python27\Python= 2.7.9\lib\site-packages\osgeo\__init__.py", line 21, in <module>=
=C2=A0 =C2=A0 _gdal =3D swig_import_helper()
=C2=A0 File "C:\Py= thon27\Python2.7.9\lib\site-packages\osgeo\__init__.py", line 17, in s= wig_import_helper
=C2=A0 =C2=A0 _mod =3D imp.load_module('_gdal'= , fp, pathname, description)
ImportError: DLL load failed: The specified= module could not be found.
>>>

Thanks in advance,
-Leo

--
https://mail.python.org/mailman/listinfo/python-list



--047d7b5d57368b8235050edd073f--