QGIS-LTR MacOS 半自动分类插件Numpy Error Pansharpening

问题描述

2021-04-12T11:12:09 警告 multiprocessing.pool.RemoteTraceback: """ 回溯(最近一次调用最后一次): 文件“/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/core/init.py”,第 22 行,在 从 。导入多阵列 文件“/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/core/multiarray .py”,第 12 行,在 从 。导入覆盖 文件“/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/core/overrides .py”,第 7 行,在 从 numpy.core._multiarray_umath 导入( 导入错误:dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/core /_multiarray_umath.cpython-38-darwin.so,2): 库未加载:@rpath/libopenblas.0.dylib 引用自:/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/core/ _multiarray_umath.cpython-38-darwin.so 原因:找不到图片

         During handling of the above exception,another exception occurred:
         
         Traceback (most recent call last):
          File "/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/multiprocessing/pool.py",line 125,in worker
          result = (True,func(*args,**kwds))
          File "/Users/jessicawright/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticclassificationPlugin/core/utils.py",line 4419,in processRasterDev
          import numpy as np
          File "/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/__init__.py",line 145,in 
          from . import core
          File "/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/core/__init__.py",line 48,in 
          raise ImportError(msg)
         ImportError: 
         
         IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
         
         Importing the numpy C-extensions Failed. This error can happen for
         many reasons,often due to issues with your setup or how NumPy was
         installed.
         
         We have compiled some common reasons and troubleshooting tips at:
         
          https://numpy.org/devdocs/user/troubleshooting-importerror.html
         
         Please note and check the following:
         
          * The Python version is: python3.8 from "/Applications/Xcode.app/Contents/Developer/usr/bin/python3"
          * The NumPy version is: "1.20.1"
         
         and make sure that they are the versions you expect.
         Please carefully study the documentation linked above for further help.
         
         Original error was: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/core/_multiarray_umath.cpython-38-darwin.so,2): Library not loaded: @rpath/libopenblas.0.dylib
          Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/core/_multiarray_umath.cpython-38-darwin.so
          Reason: image not found
         
         """
         
         The above exception was the direct cause of the following exception:
         
         Traceback (most recent call last):
          File "/Users/jessicawright/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticclassificationPlugin/maininterface/downloadproducts.py",line 559,in downloadImages
          self.downloadLandsatimages(d)
          File "/Users/jessicawright/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticclassificationPlugin/maininterface/downloadproducts.py",line 682,in downloadLandsatimages
          cfg.landsatT.landsat(d,o,'Yes')
          File "/Users/jessicawright/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticclassificationPlugin/maininterface/landsatTab.py",line 345,in landsat
          o = cfg.utls.multiProcessRaster(rasterPath = tPMDN,functionBand = 'No',functionRaster = cfg.utls.calculateraster,outputRasterList = oM,nodataValue = NoData,functionBandArgument = argumentList,functionVariable = variableList,progressMessage = cfg.QtWidgetsSCP.QApplication.translate('semiautomaticclassificationplugin','Conversion'),parallel = cfg.parallelRaster)
          File "/Users/jessicawright/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticclassificationPlugin/core/utils.py",line 5032,in multiProcessRaster
          res = r[0].get()
          File "/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/multiprocessing/pool.py",line 771,in get
          raise self._value
         ImportError: 
         
         IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
         
         Importing the numpy C-extensions Failed. This error can happen for
         many reasons,2): Library not loaded: @rpath/libopenblas.0.dylib
          Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg/numpy/core/_multiarray_umath.cpython-38-darwin.so
          Reason: image not found
         
         

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)