user2355306
user2355306

Reputation: 387

How to re-install GDAL library for Python 2.7?

I am trying to install the 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 remove all the installed files and re-install the GDAL library one more time. To be honest, I am afraid that I may remove something by mistake therefore I would like to have your guidance to help me with which steps I should do to remove the installation and start from scratch.

Upvotes: 1

Views: 6856

Answers (2)

abhishekgarg
abhishekgarg

Reputation: 1473

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..

Upvotes: -1

abhishekgarg
abhishekgarg

Reputation: 1473

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..

Upvotes: 2

Related Questions