1. 环境 macOS Big Sur 11.3.1Python 3.7.9 2. 安装步骤 brew update brew install gdal pip3 install GDAL 3. 验证 from osgeo import gdal