简体   繁体   中英

re-installing GDAL library for Python 2.7

I am trying to install GDAL library for Python 2.7 and I have followed different available instructions such as

http://pythongisandstuff.wordpress.com/2011/07/07/installing-gdal-and-ogr-for-python-on-windows/#comment-181

Unfortunately I was not successful up to now and faced a lot of difficulties. I would like to removed all the installed files and re-install the GDAL library one more time. To be honest, I afraid that I may remove something by mistake therefore I would like to have your guidance to help me which steps I should do to remove the installation and start from scratch.

this is the best source you can find for python libraries pre-compiled for windows..

http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal

download the version you want and enjoy..

ohk, looks like i got it working by following the same method.. try this...

  1. download this and unzip it and keep the gdalwin32-1.7 in c drive (or any other folder where you want it to),
  2. then download this and install it.
  3. create a folder inside the gdalwin32 in c drive called data,
  4. update your system environment variables, add C:\\gdalwin32-1.7\\bin in path and new varible called GDAL_DATA with value C:\\gdalwin32-1.7\\data .

and thats it. it working on my computer..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM