Hi,
"brew install gdal" does work. I did it before, the problem is that I
forget to add the PATH of gdal and the default PATH is to Anaconda.
Now, it works :D
Thank you.
Andreas Oxenstierna 于2022年6月28日周二
15:28写道:
> Hi
>
> My gdal installation with brew, https://formulae.brew.sh/formula/gdal,
Hi
My gdal installation with brew, https://formulae.brew.sh/formula/gdal, do work
on macOS:
which gdal_calc.py
/usr/local/bin/gdal_calc.py
ls -l /usr/local/bin/gdal_calc*
/usr/local/bin/gdal_calc.py -> ../Cellar/gdal/3.3.2_3/bin/gdal_calc.py
Do you have to use Anaconda?
Best Regards
Andreas
Hi,
I meet a problem when I use gdal_calc.py on mac:
(base) lichao@riushios-MacBook-Pro ~ % gdal_calc.py
Traceback (most recent call last):
File
"/Users/lichao/opt/anaconda3/lib/python3.9/site-packages/osgeo/__init__.py",
line 29, in swig_import_helper
return importlib.import_module(mnam