微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决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 举报,一经查实,本站将立刻删除。