semiautomaticgit / SemiAutomaticClassificationPlugin

https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html
Other
136 stars 50 forks source link

I meet the same problem #222

Closed yukihuang422 closed 2 years ago

yukihuang422 commented 2 years ago

Hi @semiautomaticgit , my operating system is macOS Big Sur 11.6.5, python 3.9, QGIS 3.16. When I was trying to clip multiple rasters, I met the same problem. The problem is shown as followed: File "/Users/yuki_huang/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/maininterface/clipmultiplerasters.py", line 82, in clipRastersAction self.clipRasters() File "/Users/yuki_huang/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/maininterface/clipmultiplerasters.py", line 243, in clipRasters cfg.utls.GDALCopyRaster(vrtCheck, f, 'GTiff', cfg.rasterCompression, 'LZW') File "/Users/yuki_huang/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/core/utils.py", line 7688, in GDALCopyRaster manager = cfg.MultiManagerSCP() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 57, in Manager m.start() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/managers.py", line 557, in start self._address = reader.recv() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 255, in recv buf = self._recv_bytes() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 419, in _recv_bytes buf = self._recv(4) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 388, in _recv raise EOFError EOFError

Could you please help me with it? Thanks a lot!

semiautomaticgit commented 2 years ago

Hello, this seems this issue https://github.com/semiautomaticgit/SemiAutomaticClassificationPlugin/issues/144 which is an installation issue. You can try to follow this guide https://semiautomaticclassificationmanual.readthedocs.io/en/latest/faq.html#i-have-installation-issues-on-mac-os-how-can-i-install-scp-on-mac-os