[Qgis-user] asking for help

Thayer Young thayeray at yahoo.com
Wed Nov 25 16:30:18 PST 2020


 You have several of options, two of the fastest solutions are to: 
1) use the GRASS tool r.patch to stitch rasters together. You can find it by entering "r.patch" into the search bar at the bottom left of the main QGIS window.
2) download the QGIS LTR, 3.10.12 - A Coruña instead. This runs on an older version of GDAL and the binaries are all there.
Unfortunately many of the GDAL tools are not working in QGIS 3.16.0 (Hannover) on MacOS. The python scripts do not seem to have the full code that is required for them to run. The C binaries are there and work, but you would have to use them from the command line. So you know the MacOS versions of QGIS downloaded from the QGIS.org website are usually packaged with all of the libraries that they need, so installing GDAL separately will not help.
-Thayer


Date: Wed, 25 Nov 2020 16:31:29 +0800 (GMT+08:00)
From: ??? <kxh at ieecas.cn>
To: qgis-user at lists.osgeo.org
Subject: [Qgis-user] asking for help
Message-ID: <7bf465d2.166b0.175fe876e02.Coremail.kxh at ieecas.cn>
Content-Type: text/plain; charset="utf-8"

Dear members,




  I use QGIS 3.16 for macOS, when I was trying to merge rasters, it always failed, the error is as below:




return importlib.import_module('_gdal')


File "/Applications/QGIS.app/Contents/MacOS/lib/python3.7/importlib/__init__.py", line 127, in import_module


return _bootstrap._gcd_import(name[level:], package, level)


ModuleNotFoundError: No module named '_gdal'


Execution completed in 0.56 seconds

Results:

{'OUTPUT': '/private/var/folders/m8/vj8dzh4j23508f625n2xwz8h0000gn/T/processing_OcDNUf/3c10084f4ae5484787b578e2ad8c5a39/OUTPUT.tif'}




I also install GDAL for python, but it doesn't change anyway.

Does anyone can help me with this problem?




Thanks.




Sincerely, 

Xianghui Kong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201125/cbff19a5/attachment-0001.html>

------------------------------


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201126/ebf11ee7/attachment.html>


More information about the Qgis-user mailing list