[Qgis-user] Installing QGIS 3 on Mac Python note

William Kyngesburye woklist at kyngchaos.com
Wed May 9 17:54:34 PDT 2018


It appears that the QGIS 3 installation on macOS does not install the needed python modules for some (many? all?).  Something changed in the Python 3 installation at some point where some modules now need distutils to install (or new versions of the modules now use distutils, I didn't get far enough to figure that out).  The Mac Python 3 package does not include distutils, but the latest pip does have it as a dependency (older pip versions apparently did not).

So, please make sure when installing Python 3 to use the standard/default install, which installs pip, which then installs distutils.  If you have already installed Python 3, install it again to upgrade pip, or upgrade pip from a Terminal (as an admin user):

sudo pip3 install --upgrade pip

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy





More information about the Qgis-user mailing list