I am trying to install QGIS3 via Kyngchaos installer. But as I install python 3.6 in anaconda, the installer cannot find it. I know I can install a new environment or use symlinks to connected to Python that installed by homebrew as suggested in Installing QGIS3 on Mac? But as I have already installed a lot of packages in anaconda environment, I still hope to connect QGIS libs to it. Is it possible to do that?

Python 3.6 is installed in /Users/.../anaconda3/bin

  • The KyngChaos packages specifically say they are only compatible with Python.org python, not Anaconda/Homebrew/MacPorts/etc... Conda-forge are trying to package QGIS for anaconda.There is a test build you can try by conda-forge contributor gillins, try conda install -c gillins qgis or to avoid issues conda create mynewenv -c gillins qgis – Luke Apr 28 at 7:59
  • which python3.6.? did you use for standard python – GiS4SDG14 Sep 15 at 16:25

I would like to share my experiment though I still failed to install it.

It seems in my case that The python path should be /Library/Frameworks/Python.framework/Versions/3.6/bin. I try to create a symlink like ln -s /anaconda3/bin /Library/Frameworks/Python.framework/Versions/3.6/bin and then I can 'successfully' install QGIS3.

However when I open QGIS3 that I have installed. It crushed suddenly when loading the software without any dialog box showing any errors or warnings.

I am still wondering whether there are some libraries that I should install besides GDAL and what's the reason for its crush.

  • 1
    It might be worth trying to link the actual Python.framework locations - e.g. QGIS3 looks for python at /Library/Frameworks/Python.framework. Next thing to confirm is whether you install the KyngChaos GDAL after (as opposed to before) linking the python location? Lastly, install pygments, owslib, and jinja2 in your anaconda environment and see if that helps. Do the crash logs provide any clues as to specific missing packages? – shongololo Mar 28 at 8:54
  • Thank you for your reply. I have checked the path and install pygments, owslib, and jinja2 but it still crushed after checking provider plugins without showing any dialog boxes. – natsuapo Mar 29 at 10:26
  • 1
    There might be some underlying conflict between Anaconda versions of gdal and related packages and those provided by KyngChaos. – shongololo Mar 29 at 13:48
  • I simply installed Python 3.6 via the python installer and didn't set any environment variables. The QGIS install worked without changing my default Python package (i.e. launching python from terminal launches Anaconda). – FrodmanG May 27 at 8:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.