$ export GDALHOME="/Library/Frameworks/amework/Versions/Current/unix/" This can be accomplished by setting the GDALHOME environment variable, e.g. If you installed GDAL using the KyngChaos frameworks, you may need to override the default values returned by gdal-config -prefix in order to install this package. Package numpy is also listed as a dependency (using setup_requires and install_requires directives), so you do not need to install it before installing GDAL. The supported versions are 1.8.1 - 3.4.1. The trick with range of versions required to support pygdal versioning. Install Pyside and pyqtgraph sudo apt-get install libqt4-dev sudo apt-get install cmake sudo pip3 install PySide sudo pip3 install pyqtgraph Install opencv (with Anaconda) conda install -c menpo opencv33.1.0 ImportError: libopencvccalib.so.3. $ env/bin/pip install pygdal="`gdal-config -version`.*" Or you can install package directly from PyPi: $ virtualenv -no-site-packages env Version of the same package, and GDAL, so that if you have installed GDAL 1.8.1 you need to install the version 1.8.1 of this package: $ gdal-config -version On Ubuntu it can be done this way: $ sudo apt-get install libgdal1-dev As a library, it presents a single abstract data model to the calling application for all supported formats. You can install GDAL into your virtualenv using this package but you still need to install GDAL library and its header files on your system. GDAL is a translator library for raster geospatial data formats. This package is for you if you had problems installing GDAL in your virtualenv. The related OGR library (which lives within the GDAL source tree) provides a similar. Virtualenv and setuptools friendly version of standard GDAL python bindings. GDAL is a translator library for raster geospatial data formats.