<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Well, you shouldn't be installing GDAL-python from pip if you're using my GDAL framework and QGIS3.  My GDAL framework has the python module linked into the python site-packages.<div class=""><br class=""></div><div class="">But, I can see a problem that I should fix - pip doesn't see my gdal-python, so other modules that need GDAL will want to install GDAL from pip (this may be why you were doing this).  I ran into this with the proj module, so I created a wheel for that so pip sees it.  I need to do the same for GDAL, and Shapely (GEOS).</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 3, 2018, at 3:41 AM, Noli Sicad <<a href="mailto:nsicad@gmail.com" class="">nsicad@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Disregard this error.<br class=""><br class="">The processing plugin loads now properly.<br class=""><br class="">I think downloaded and installed the wrong version (32bit / 10.6) of<br class="">the python3.6.x. instead of 64bit / 10.9). It seems that python 3.6.5<br class="">is properly installed now.<br class=""><br class="">Noli<br class=""><br class=""><br class=""><br class="">On Mon, Apr 2, 2018 at 5:08 PM, Noli Sicad <<a href="mailto:nsicad@gmail.com" class="">nsicad@gmail.com</a>> wrote:<br class=""><blockquote type="cite" class="">Hi William,<br class=""><br class="">I am trying python GDAL (GDAL2.2.4 and Python 3.6.4) in Mac OS X El<br class="">Capitan (10.11.6) and QGIS3.0.<br class=""><br class="">sudo pip3 install gdal<br class=""><br class="">I got this error:<br class=""><br class="">File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 138, in fetch_config<br class="">        raise gdal_config_error(e)<br class="">    __main__.gdal_config_error: [Errno 2] No such file or directory:<br class="">'gdal-config': 'gdal-config'<br class=""><br class="">I tried several suggestions in the net however, the error getting<br class="">worst that this.<br class=""><br class="">Any suggestion how to fix this?<br class=""><br class="">Here's the log below.<br class=""><br class=""><br class="">Thanks.<br class=""><br class="">Noli<br class=""><br class="">~~~~~~~~~~~<br class=""><br class="">Nolis-MBP:AA_QGIS nolisicad$ sudo pip3 install gdal<br class="">Password:<br class="">The directory '/Users/nolisicad/Library/Caches/pip/http' or its parent<br class="">directory is not owned by the current user and the cache has been<br class="">disabled. Please check the permissions and owner of that directory. If<br class="">executing pip with sudo, you may want sudo's -H flag.<br class="">The directory '/Users/nolisicad/Library/Caches/pip' or its parent<br class="">directory is not owned by the current user and caching wheels has been<br class="">disabled. check the permissions and owner of that directory. If<br class="">executing pip with sudo, you may want sudo's -H flag.<br class="">Collecting gdal<br class="">  Downloading GDAL-2.2.4.tar.gz (475kB)<br class="">    100% |████████████████████████████████| 481kB 733kB/s<br class="">    Complete output from command python setup.py egg_info:<br class="">    running egg_info<br class="">    creating pip-egg-info/GDAL.egg-info<br class="">    writing pip-egg-info/GDAL.egg-info/PKG-INFO<br class="">    writing dependency_links to pip-egg-info/GDAL.egg-info/dependency_links.txt<br class="">    writing top-level names to pip-egg-info/GDAL.egg-info/top_level.txt<br class="">    writing manifest file 'pip-egg-info/GDAL.egg-info/SOURCES.txt'<br class="">    warning: manifest_maker: standard file '-c' not found<br class=""><br class="">    Traceback (most recent call last):<br class="">      File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 134,<br class="">in fetch_config<br class="">        p = subprocess.Popen([command, args], stdout=subprocess.PIPE)<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",<br class="">line 709, in __init__<br class="">        restore_signals, start_new_session)<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",<br class="">line 1344, in _execute_child<br class="">        raise child_exception_type(errno_num, err_msg, err_filename)<br class="">    FileNotFoundError: [Errno 2] No such file or directory:<br class="">'../../apps/gdal-config': '../../apps/gdal-config'<br class=""><br class="">    During handling of the above exception, another exception occurred:<br class=""><br class="">    Traceback (most recent call last):<br class="">      File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 182,<br class="">in get_gdal_config<br class="">        return fetch_config(option, gdal_config = self.gdal_config)<br class="">      File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 138,<br class="">in fetch_config<br class="">        raise gdal_config_error(e)<br class="">    __main__.gdal_config_error: [Errno 2] No such file or directory:<br class="">'../../apps/gdal-config': '../../apps/gdal-config'<br class=""><br class="">    During handling of the above exception, another exception occurred:<br class=""><br class="">    Traceback (most recent call last):<br class="">      File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 134,<br class="">in fetch_config<br class="">        p = subprocess.Popen([command, args], stdout=subprocess.PIPE)<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",<br class="">line 709, in __init__<br class="">        restore_signals, start_new_session)<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",<br class="">line 1344, in _execute_child<br class="">        raise child_exception_type(errno_num, err_msg, err_filename)<br class="">    FileNotFoundError: [Errno 2] No such file or directory:<br class="">'gdal-config': 'gdal-config'<br class=""><br class="">    During handling of the above exception, another exception occurred:<br class=""><br class="">    Traceback (most recent call last):<br class="">      File "<string>", line 1, in <module><br class="">      File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 342,<br class="">in <module><br class="">        **extra )<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py",<br class="">line 148, in setup<br class="">        dist.run_commands()<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py",<br class="">line 955, in run_commands<br class="">        self.run_command(cmd)<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py",<br class="">line 974, in run_command<br class="">        cmd_obj.run()<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/egg_info.py",<br class="">line 279, in run<br class="">        self.find_sources()<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/egg_info.py",<br class="">line 306, in find_sources<br class="">        mm.run()<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/egg_info.py",<br class="">line 533, in run<br class="">        self.add_defaults()<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/egg_info.py",<br class="">line 562, in add_defaults<br class="">        sdist.add_defaults(self)<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/py36compat.py",<br class="">line 36, in add_defaults<br class="">        self._add_defaults_ext()<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/py36compat.py",<br class="">line 119, in _add_defaults_ext<br class="">        build_ext = self.get_finalized_command('build_ext')<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py",<br class="">line 299, in get_finalized_command<br class="">        cmd_obj.ensure_finalized()<br class="">      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py",<br class="">line 107, in ensure_finalized<br class="">        self.finalize_options()<br class="">      File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 217,<br class="">in finalize_options<br class="">        self.gdaldir = self.get_gdal_config('prefix')<br class="">      File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 191,<br class="">in get_gdal_config<br class="">        return fetch_config(option)<br class="">      File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 138,<br class="">in fetch_config<br class="">        raise gdal_config_error(e)<br class="">    __main__.gdal_config_error: [Errno 2] No such file or directory:<br class="">'gdal-config': 'gdal-config'<br class=""><br class="">    ----------------------------------------<br class="">Command "python setup.py egg_info" failed with error code 1 in<br class="">/private/tmp/pip-build-e4ca_ecz/gdal/<br class=""></blockquote>_______________________________________________<br class="">QGIS-Developer mailing list<br class=""><a href="mailto:QGIS-Developer@lists.osgeo.org" class="">QGIS-Developer@lists.osgeo.org</a><br class="">List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer<br class="">Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer</div></div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class="">-----</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class="">William Kyngesburye <kyngchaos*at*kyngchaos*dot*com></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><a href="http://www.kyngchaos.com/" class="">http://www.kyngchaos.com/</a></div><div class=""><br class="khtml-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class="">"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><br class="khtml-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class="">"Don't you even hate 'em?"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><br class="khtml-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class="">"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><br class="khtml-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><Ha, ha> "And it might give 'em all stomach ulcers."</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><br class="khtml-block-placeholder"></div>- Tarzan, on war<br class="Apple-interchange-newline"></span></span></span>
</div>
<br class=""></div></body></html>