The homebrew site-packages should not affect the python framework site-packages. But there may be other parts of virtualenv that the framework sees. I found one thing I can try with the installer.
> On May 24, 2018, at 5:14 AM, Reg Maltais <reginald.malt...@gmail.com> wrote: > > I just went looking through my homebrew stuff, and I have an older version of > python3 in there that I completely forgot about. That’s why pyenv and a bunch > of other things got installed. When I go look into > /usr/local/lib/python3.6/site-packages/ I see virtualenv.py, osgeo, numpy, > etc. > > >> On May 23, 2018, at 10:04 PM, William Kyngesburye <wokl...@kyngchaos.com >> <mailto:wokl...@kyngchaos.com>> wrote: >> >> Ah, now we're getting somewhere. Did you install some other python 3 >> modules? Maybe pyenv or virtualenv? >> >>> On May 23, 2018, at 5:19 PM, Reg Maltais <reginald.malt...@gmail.com >>> <mailto:reginald.malt...@gmail.com>> wrote: >>> >>> Here’s the truncated output to show just the postinstall lines: >>> >>> May 23 18:14:15 Bellerophon installd[636]: PackageKit: Executing script >>> "./postinstall" in >>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.maptools.proj-framework-yosemite.xOVaFz >>> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an >>> activated virtualenv (required). >>> May 23 18:14:16 Bellerophon installd[636]: PackageKit: Executing script >>> "./postinstall" in >>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.gdal.gdal22-framework-yosemite.ogoElJ >>> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an >>> activated virtualenv (required). >>> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an >>> activated virtualenv (required). >>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Executing script >>> "./postinstall" in >>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/net.refractions.geos-framework-yosemite.Xrb86e >>> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an >>> activated virtualenv (required). >>> >>> Interestingly, immediately below these are the PackageKit receipt writes: >>> >>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for >>> org.maptools.proj-framework-yosemite to / >>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for >>> org.sqlite.sqlite3-framework-yosemite to / >>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for >>> com.kyngchaos.UnixImageIO-framework-F-yosemite to / >>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for >>> org.gdal.gdal22-framework-yosemite to / >>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for >>> net.refractions.geos-framework-yosemite to / >>> >>> So appears it thinks it worked. >>> >>>> On May 23, 2018, at 5:22 PM, William Kyngesburye <wokl...@kyngchaos.com >>>> <mailto:wokl...@kyngchaos.com>> wrote: >>>> >>>> That was just a test, only one python module. >>>> >>>> So, now it looks like pip is working in the Terminal, but not in my >>>> installers. Try running the GDAL Complete installer again, but don't >>>> close it when it finishes. Instead, open the Installer Log from the >>>> Window menu (in the installer). Then use the popup menu to Show All Logs. >>>> There should be some lines with "postinstall:", what do these say? >>>> >>>>> On May 23, 2018, at 4:59 AM, Reg Maltais <reginald.malt...@gmail.com >>>>> <mailto:reginald.malt...@gmail.com>> wrote: >>>>> >>>>> So that worked: >>>>> Processing >>>>> /Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl >>>>> Installing collected packages: GDAL >>>>> Successfully installed GDAL-2.2.4 >>>>> >>>>> I’m getting different errors when opening QGIS now, I’m assuming due to >>>>> not having run pip install for all of the various bits. >>>>> >>>>> Couldn't load plugin 'processing' >>>>> ModuleNotFoundError: No module named 'psycopg2.extensions' >>>>> >>>>> Traceback (most recent call last): >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 311, in loadPlugin >>>>> __import__(packageName) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py", >>>>> line 29, in >>>>> from processing.tools.general import * # NOQA >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py", >>>>> line 39, in >>>>> from processing.core.Processing import Processing >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", >>>>> line 57, in >>>>> from processing.algs.qgis.QgisAlgorithmProvider import >>>>> QgisAlgorithmProvider # NOQA >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py", >>>>> line 68, in >>>>> from .FieldsCalculator import FieldsCalculator >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/FieldsCalculator.py", >>>>> line 45, in >>>>> from .ui.FieldsCalculatorDialog import FieldsCalculatorDialog >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py", >>>>> line 52, in >>>>> from processing.gui.PostgisTableSelector import PostgisTableSelector >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/gui/PostgisTableSelector.py", >>>>> line 34, in >>>>> from processing.tools.postgis import GeoDB >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/postgis.py", >>>>> line 29, in >>>>> import psycopg2.extensions # For isolation levels >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> ModuleNotFoundError: No module named 'psycopg2.extensions' >>>>> >>>>> Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 05:52:31) [GCC >>>>> 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] >>>>> QGIS version: 3.0.2-Girona Girona, exported >>>>> Python Path: >>>>> >>>>> /Applications/QGIS3.app/Contents/MacOS/../Resources/python >>>>> /Users/goatsweater/Library/Application >>>>> Support/QGIS/QGIS3/profiles/default/python >>>>> /Users/goatsweater/Library/Application >>>>> Support/QGIS/QGIS3/profiles/default/python/plugins >>>>> /Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins >>>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip >>>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6 >>>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload >>>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages >>>>> /Users/goatsweater/Library/Application >>>>> Support/QGIS/QGIS3/profiles/default/python >>>>> Couldn't load plugin 'MetaSearch' due to an error when calling its >>>>> classFactory() method >>>>> ModuleNotFoundError: No module named 'owslib.csw' >>>>> >>>>> Traceback (most recent call last): >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 336, in startPlugin >>>>> plugins[packageName] = package.classFactory(iface) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/__init__.py", >>>>> line 29, in classFactory >>>>> from MetaSearch.plugin import MetaSearchPlugin >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/plugin.py", >>>>> line 34, in >>>>> from MetaSearch.dialogs.maindialog import MetaSearchDialog >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/dialogs/maindialog.py", >>>>> line 46, in >>>>> from owslib.csw import CatalogueServiceWeb # spellok >>>>> File >>>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", >>>>> line 664, in _import >>>>> mod = _builtin_import(name, globals, locals, fromlist, level) >>>>> ModuleNotFoundError: No module named 'owslib.csw' >>>>> >>>>> Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 05:52:31) [GCC >>>>> 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] >>>>> QGIS version: 3.0.2-Girona Girona, exported >>>>> Python Path: >>>>> >>>>> /Applications/QGIS3.app/Contents/MacOS/../Resources/python >>>>> /Users/goatsweater/Library/Application >>>>> Support/QGIS/QGIS3/profiles/default/python >>>>> /Users/goatsweater/Library/Application >>>>> Support/QGIS/QGIS3/profiles/default/python/plugins >>>>> /Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins >>>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip >>>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6 >>>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload >>>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages >>>>> /Users/goatsweater/Library/Application >>>>> Support/QGIS/QGIS3/profiles/default/python >>>>> >>>>> >>>>>> On May 22, 2018, at 9:31 PM, William Kyngesburye <wokl...@kyngchaos.com >>>>>> <mailto:wokl...@kyngchaos.com>> wrote: >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Qgis-user mailing list >>>>> Qgis-user@lists.osgeo.org <mailto:Qgis-user@lists.osgeo.org> >>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >>>>> <https://lists.osgeo.org/mailman/listinfo/qgis-user> >>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >>>>> <https://lists.osgeo.org/mailman/listinfo/qgis-user> >>>> ----- >>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> >>>> http://www.kyngchaos.com/ <http://www.kyngchaos.com/> >>>> >>>> Earth: "Mostly harmless" >>>> >>>> - revised entry in the HitchHiker's Guide to the Galaxy >>>> >>>> >>> >>> _______________________________________________ >>> Qgis-user mailing list >>> Qgis-user@lists.osgeo.org <mailto:Qgis-user@lists.osgeo.org> >>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> <https://lists.osgeo.org/mailman/listinfo/qgis-user> >>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> <https://lists.osgeo.org/mailman/listinfo/qgis-user> >> ----- >> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> >> http://www.kyngchaos.com/ <http://www.kyngchaos.com/> >> >> Theory of the Universe >> >> There is a theory which states that if ever anyone discovers exactly what >> the universe is for and why it is here, it will instantly disappear and be >> replaced by something even more bizarrely inexplicable. There is another >> theory which states that this has already happened. >> >> -Hitchhiker's Guide to the Galaxy 2nd season intro >> >> > > _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/ Earth: "Mostly harmless" - revised entry in the HitchHiker's Guide to the Galaxy
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user