<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear GDAL <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">developers and users</span>,<div class=""><br class=""></div><div class="">I am unable to install GDAL on my Mac. I have set up Python with pyenv. When I enter <font face="Menlo" class="">pip install gdal </font>I get a lot of exceptions that always end with <font color="#b42419" face="Menlo" class="">FileNotFoundError: [Errno 2] No such file or directory: '../../apps/gdal-config</font><span style="caret-color: rgb(180, 36, 25);" class=""><font color="#b42419" face="Menlo" class="">‘</font><span style="font-style: normal;" class=""> or </span></span><span style="color: rgb(180, 36, 25); font-family: Menlo;" class=""> </span><span style="color: rgb(180, 36, 25); font-family: Menlo;" class="">FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config</span><font color="#b42419" face="Menlo" class=""><span style="caret-color: rgb(180, 36, 25);" class="">‘</span></font><span style="caret-color: rgb(180, 36, 25);" class=""> The very last line says </span><font color="#b42419" face="Menlo" class="">Could not find gdal-config. Make sure you have installed the GDAL native library and development headers. </font>But that’s what I try to do, right?</div><div class=""><br class=""></div><div class="">When I download the package from <a href="http://download.osgeo.org/gdal/" class="">http://download.osgeo.org/gdal/</a> and try to install it with <span style="font-family: Menlo;" class="">pip install gdal-3.2.1.tar.gz </span>I get the error message:</div><div class=""><span style="font-family: Menlo;" class=""><br class=""></span></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ERROR: Command errored out with exit status 1:</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> command: /Users/marius/.pyenv/versions/3.9.0/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/99/kr62vcdn1nq7b376wln_0r6m0000gn/T/pip-req-build-hmpof14i/setup.py'"'"'; __file__='"'"'/private/var/folders/99/kr62vcdn1nq7b376wln_0r6m0000gn/T/pip-req-build-hmpof14i/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/99/kr62vcdn1nq7b376wln_0r6m0000gn/T/pip-pip-egg-info-3inooqvl</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> cwd: /private/var/folders/99/kr62vcdn1nq7b376wln_0r6m0000gn/T/pip-req-build-hmpof14i/</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Complete output (5 lines):</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Traceback (most recent call last):</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> File "<string>", line 1, in <module></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> File "/Users/marius/.pyenv/versions/3.9.0/lib/python3.9/tokenize.py", line 392, in open</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> buffer = _builtin_open(filename, 'rb')</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/99/kr62vcdn1nq7b376wln_0r6m0000gn/T/pip-req-build-hmpof14i/setup.py'</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Do you have any idea what could be the problem? There are no installation instructions on the website, so I assumed it can be installed with pip just like any other package.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Best regards,</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Marius</span></div></body></html>