[Qgis-user] GDAL problems on Mac 10.14.6

RMG reikogoodwin at gmail.com
Sat May 30 13:13:51 PDT 2020


Hello Mac users,

I have been using SCP to do land classification, but with QGIS12.0, I keep
on having problems.
Does QGIS12.0 work with Python3.8? And which version of GDAL does QGIS12.0
need?

I get the below messages when I use SCP.
2020-05-24T01:22:59     WARNING    warning:/Users/rmg/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/core/utils.py:1298:
DeprecationWarning:
             time.clock has been deprecated in Python 3.3 and will be
removed from Python 3.8: use time.perf_counter or time.process_time instead
             traceback: File "/Users/rmg/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/dock/classificationpreview.py",
line 59, in canvasReleaseEvent
              self.leftClicked.emit(pnt)
              File "/Users/rmg/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/dock/scpdock.py",
line 350, in pointerClickPreview
              self.createPreview(cfg.pntPrvw, self.algRasterPrevw )
              File "/Users/rmg/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/dock/scpdock.py",
line 164, in createPreview
              ok, opOut, mOut = self.runAlgorithm(cfg.algName,
cfg.bandSetsList[bandSetNumber][8], sL, pP, cfg.macroclassCheck, None,
int(cfg.prvwSz), point, compress, bandSetNumber)
              File "/Users/rmg/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/dock/scpdock.py",
line 455, in runAlgorithm
              o = cfg.utls.processRaster(rD, bL, signatureList, None,
cfg.utls.classification, algorithmName, oRL, oMR[0], oCR[0], previewSize,
previewPoint, cfg.NoDataVal, macroclassCheck, cfg.multiAddFactorsVar,
cfg.bandSetsList[bandSetNumber][6])
              File "/Users/rmg/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/core/utils.py",
line 3999, in processRaster
              o = functionRaster(gdalBandList, signatureList,
algorithmName, c, bSX, bSY, x, y, outputRasterList, outputAlgorithmRaster,
outputClassificationRaster, nodataValue, macroclassCheck, previewSize,
pX[lX.index(x)], pY[lY.index(y)], progressStart, progresStep,
remainingBlocks, progressMessage)
              File "/Users/rmg/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/core/utils.py",
line 1298, in classification
              StartT = cfg.timeSCP.clock()

The SCP group on FB pointed out to me that I have a GDAL installation
problem, but I do not know how to fix it.

What I have as GDAL folders are:

usr>local>Cellar>gdal>2.44_6>lib>python3.8>site-packages>GDAL-2.4.4-py3.8egg-info
usr>local>lib>python3.8>site-packages>GDAL-2.4.4-py3.8egg-info
usr>local>Cellar> gdal>2.44_6>share>gdal
rmg>Library>Application Suport>
QGIS>QGIS3>profiles>default>ricessubg>rlibs.sf.gdal
rmg>Library>Application Suport>
QGIS>QGIS3>profiles>processing>rlibs>sf>docker.gdal
MacintoshHD>usr>local>Cellar>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.1>Resources>doc>gdal>java>org>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.2>Resources>doc>gdal>java>org>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.4>Resources>doc>gdal>java>org>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.3>Resources>doc>gdal>java>org>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.2>Resources>doc>gdal>java>org>gdal>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.2>Resources>doc>gdal>java>org>gdal>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.2>Resources>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.2>Resources>doc>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.3>Resources>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.3>Resources>doc>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.1>Resources>gdal
MacintoshHD>Library>Frameworks.GDAL.framework>Versions>2.1>Resources>doc>gdal>java>org>gdal>gdal
MacintoshHD>Library>Frameworks>GDAL.framework>Versions>2.1>Resources>doc>gdal
MacintoshHD>Library>Frameworks>R.framework>Versions>3.4>Resources>library>sf>gdal
MacintoshHD>Library>Frameworks>R.framework>Versions>3.4>Resources>library>sf>docker>gdal
MacintoshHD>Applications>QGIS3.app>Contents>Resources>python>>plugins>processing>algs>gdal
MacintoshHD>Library>Frameworks>R.framework>Versions>3.4>Resources>library>rgdal>gdal
MacintoshHD>Library>Frameworks>R.framework>Versions>3.4>Resources>library>rgdal
MacintoshHD>Applications>>QGIS3.10.app>Contents>Resources>gdal
MacintoshHD>Applications>>QGIS3.4.app>Contents>Resources>gdal
MacintoshHD>Applications>>QGIS3.app>Contents>Resources>gdal

What I have as Python3.8 folders are:

MacintoshHD>usr>local>Cellar>python at 3.8
>3.8.2>Frameworks>Python.framework>Versions>3.8>include>python3.8
MacintoshHD>usr>local>Cellar>gdal>2.4.4_6>lib>python3.8
MacintoshHD>Library>Frameworks>Python.framework>Versions>3.8>include>python3.8
MacintoshHD>usr>local>Cellar>python at 3.8
>3.8.2>Frameworks>Python.framework>Versions>3.8>lib>python3.8
MacintoshHD>usr>local>lib>gdal>python3.8
MacintoshHD>Library>Frameworkds>Python.framework>Versions>3.8>share>doc>python3.8

Python3.6 folders:

MacintoshHD>Library>Frameworks>Python.framework>Versions>3.6>share>doc>python3.6
MacintoshHD>Library>Frameworks>Python.framework>Versions>3.6>lib>python3.6
MacintoshHD>Library>Frameworks>Python.framework>Versions>3.6>include>python3.6m

Under Applications, I have:
Python3.5, Python3.6, and Python3.8.
QGIS3.app, QGIS3.4.app, QGIS10.0.app, and QGIS12.0.app.

I would appreciate your help.

Reiko Matsuda Goodwin
ComoƩ Monkey Project <https://www.facebook.com/ComoeMonkeyProject/>
Guenon Conservation Community
<http://facebook.com/GuenonConservationCommunity/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200530/a34dd449/attachment.html>


More information about the Qgis-user mailing list