Python 3.x pip3安装gdal错误:命令出错,退出状态为1

Python 3.x pip3安装gdal错误:命令出错,退出状态为1,python-3.x,gdal,qgis,osgeo,Python 3.x,Gdal,Qgis,Osgeo,前提: 我有一个带有Catalina(10.15.4)的MacBookPro,我已经安装了:python 3.7、GDAL 2.4和Qgis 3.12库。(我不使用anaconda或miniconda,我安装了自制软件) 一切都源于执行一个特定项目的困难,该项目从Github获取关于Corona Virus Italia的数据,并每天使用Qgis()进行处理 如您所见,该项目是为windows和OSX制作的,为了运行它,您需要安装DataPloty插件 Python 3.7的问题 当我尝试安装g

前提: 我有一个带有Catalina(10.15.4)的MacBookPro,我已经安装了:python 3.7、GDAL 2.4和Qgis 3.12库。(我不使用anaconda或miniconda,我安装了自制软件)

一切都源于执行一个特定项目的困难,该项目从Github获取关于Corona Virus Italia的数据,并每天使用Qgis()进行处理

如您所见,该项目是为windows和OSX制作的,为了运行它,您需要安装DataPloty插件

Python 3.7的问题

当我尝试安装gdal时,我已经尝试了很多天来理解python3的这个问题,它不允许我查看图形处理:

    pip3 install gdal
Collecting gdal
  Using cached GDAL-3.0.4.tar.gz (577 kB)
Installing collected packages: gdal
    Running setup.py install for gdal ... error
    ERROR: Command errored out with exit status 1:
     command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/pip-install-on9vchph/gdal/setup.py'"'"'; __file__='"'"'/private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/pip-install-on9vchph/gdal/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/pip-record-z5yq4g0d/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/gdal
         cwd: /private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/pip-install-on9vchph/gdal/
    Complete output (84 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.6-intel-3.7
    copying gdal.py -> build/lib.macosx-10.6-intel-3.7
    copying ogr.py -> build/lib.macosx-10.6-intel-3.7
    copying osr.py -> build/lib.macosx-10.6-intel-3.7
    copying gdalconst.py -> build/lib.macosx-10.6-intel-3.7
    copying gdalnumeric.py -> build/lib.macosx-10.6-intel-3.7
    creating build/lib.macosx-10.6-intel-3.7/osgeo
    copying osgeo/gnm.py -> build/lib.macosx-10.6-intel-3.7/osgeo
    copying osgeo/__init__.py -> build/lib.macosx-10.6-intel-3.7/osgeo
    copying osgeo/gdalnumeric.py -> build/lib.macosx-10.6-intel-3.7/osgeo
    copying osgeo/osr.py -> build/lib.macosx-10.6-intel-3.7/osgeo
    copying osgeo/gdal.py -> build/lib.macosx-10.6-intel-3.7/osgeo
    copying osgeo/ogr.py -> build/lib.macosx-10.6-intel-3.7/osgeo
    copying osgeo/gdal_array.py -> build/lib.macosx-10.6-intel-3.7/osgeo
    copying osgeo/gdalconst.py -> build/lib.macosx-10.6-intel-3.7/osgeo
    Fixing build/lib.macosx-10.6-intel-3.7/gdal.py build/lib.macosx-10.6-intel-3.7/ogr.py build/lib.macosx-10.6-intel-3.7/osr.py build/lib.macosx-10.6-intel-3.7/gdalconst.py build/lib.macosx-10.6-intel-3.7/gdalnumeric.py build/lib.macosx-10.6-intel-3.7/osgeo/gnm.py build/lib.macosx-10.6-intel-3.7/osgeo/__init__.py build/lib.macosx-10.6-intel-3.7/osgeo/gdalnumeric.py build/lib.macosx-10.6-intel-3.7/osgeo/osr.py build/lib.macosx-10.6-intel-3.7/osgeo/gdal.py build/lib.macosx-10.6-intel-3.7/osgeo/ogr.py build/lib.macosx-10.6-intel-3.7/osgeo/gdal_array.py build/lib.macosx-10.6-intel-3.7/osgeo/gdalconst.py
    Skipping optional fixer: ws_comma
    Fixing build/lib.macosx-10.6-intel-3.7/gdal.py build/lib.macosx-10.6-intel-3.7/ogr.py build/lib.macosx-10.6-intel-3.7/osr.py build/lib.macosx-10.6-intel-3.7/gdalconst.py build/lib.macosx-10.6-intel-3.7/gdalnumeric.py build/lib.macosx-10.6-intel-3.7/osgeo/gnm.py build/lib.macosx-10.6-intel-3.7/osgeo/__init__.py build/lib.macosx-10.6-intel-3.7/osgeo/gdalnumeric.py build/lib.macosx-10.6-intel-3.7/osgeo/osr.py build/lib.macosx-10.6-intel-3.7/osgeo/gdal.py build/lib.macosx-10.6-intel-3.7/osgeo/ogr.py build/lib.macosx-10.6-intel-3.7/osgeo/gdal_array.py build/lib.macosx-10.6-intel-3.7/osgeo/gdalconst.py
    Skipping optional fixer: ws_comma
    running build_ext
    gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/usr/local/opt/openssl@1.1/include -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/tony/Library/Python/3.7/lib/python/site-packages/numpy/core/include -I/Library/Frameworks/GDAL.framework/Versions/2.4/include -c gdal_python_cxx11_test.cpp -o gdal_python_cxx11_test.o
    gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/usr/local/opt/openssl@1.1/include -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/tony/Library/Python/3.7/lib/python/site-packages/numpy/core/include -I/Library/Frameworks/GDAL.framework/Versions/2.4/include -c gdal_python_cxx11_test.cpp -o gdal_python_cxx11_test.o -std=c++11
    creating var
    creating var/folders
    creating var/folders/6v
    creating var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn
    creating var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T
    gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/usr/local/opt/openssl@1.1/include -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/tony/Library/Python/3.7/lib/python/site-packages/numpy/core/include -I/Library/Frameworks/GDAL.framework/Versions/2.4/include -c /var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmpvdsuhy2e.cpp -o var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmpvdsuhy2e.o -Wno-error=unused-command-line-argument-hard-error-in-future
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/usr/local/opt/openssl@1.1/include -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/tony/Library/Python/3.7/lib/python/site-packages/numpy/core/include -I/Library/Frameworks/GDAL.framework/Versions/2.4/include -c /var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmp64x28hgt.cpp -o var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmp64x28hgt.o -Wno-error=unused-command-line-argument-hard-error-in-future
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/usr/local/opt/openssl@1.1/include -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/tony/Library/Python/3.7/lib/python/site-packages/numpy/core/include -I/Library/Frameworks/GDAL.framework/Versions/2.4/include -c /var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmp99_tg082.cpp -o var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmp99_tg082.o -Wno-error=unused-command-line-argument-hard-error-in-future
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/usr/local/opt/openssl@1.1/include -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/tony/Library/Python/3.7/lib/python/site-packages/numpy/core/include -I/Library/Frameworks/GDAL.framework/Versions/2.4/include -c /var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmpv4ct3en1.cpp -o var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmpv4ct3en1.o -Wno-error=unused-command-line-argument-hard-error-in-future
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/usr/local/opt/openssl@1.1/include -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/tony/Library/Python/3.7/lib/python/site-packages/numpy/core/include -I/Library/Frameworks/GDAL.framework/Versions/2.4/include -c /var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmpcxsk3ylh.cpp -o var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmpcxsk3ylh.o -Wno-error=unused-command-line-argument-hard-error-in-future
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/usr/local/opt/openssl@1.1/include -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/tony/Library/Python/3.7/lib/python/site-packages/numpy/core/include -I/Library/Frameworks/GDAL.framework/Versions/2.4/include -c /var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmpxeugvpxr.cpp -o var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/tmpxeugvpxr.o -Wno-error=unused-command-line-argument-hard-error-in-future
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    2 warnings generated.
    building 'osgeo._gdal' extension
    creating build/temp.macosx-10.6-intel-3.7
    creating build/temp.macosx-10.6-intel-3.7/extensions
    gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/usr/local/opt/openssl@1.1/include -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/tony/Library/Python/3.7/lib/python/site-packages/numpy/core/include -I/Library/Frameworks/GDAL.framework/Versions/2.4/include -c extensions/gdal_wrap.cpp -o build/temp.macosx-10.6-intel-3.7/extensions/gdal_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/Library/Frameworks/GDAL.framework/Versions/2.4/Headers
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    extensions/gdal_wrap.cpp:3096:10: fatal error: 'stdexcept' file not found
    #include <stdexcept>
             ^~~~~~~~~~~
    2 warnings and 1 error generated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/pip-install-on9vchph/gdal/setup.py'"'"'; __file__='"'"'/private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/pip-install-on9vchph/gdal/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/pip-record-z5yq4g0d/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/gdal Check the logs for full command output
pip3安装gdal
收集gdal
使用缓存的GDAL-3.0.4.tar.gz(577KB)
安装收集的软件包:gdal
正在为gdal运行setup.py安装。。。错误
错误:命令出错,退出状态为1:
命令:/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7-u-c'import sys、setuptools、tokenize;sys.argv[0]=“private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s0000gn/T/pip-install-on9vchph/gdal/setup.py”__文件“''/private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s0000gn/T/pip-install-on9vchph/gdal/setup.py'”;f=getattr(标记化,“'open'”,open)(\uuuuu文件);code=f.read().replace(“\r\n”“”、“\n”“”);f、 close();exec(compile(compile(code,uuu file_uuuu,“'exec'”)'install--record/private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T/pip-record-z5yq4g0d/install-record.txt--外部管理的单一版本--编译--安装头文件/Library/Frameworks/python3.7m/Versions/3.7/gdal
cwd:/private/var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s0000gn/T/pip-install-on9vchph/gdal/
完整输出(84行):
正在运行的安装
运行构建
运行build\u py
创建构建
创建build/lib.macosx-10.6-intel-3.7
复制gdal.py->build/lib.macosx-10.6-intel-3.7
复制ogr.py->build/lib.macosx-10.6-intel-3.7
复制osr.py->build/lib.macosx-10.6-intel-3.7
复制gdalconst.py->build/lib.macosx-10.6-intel-3.7
复制gdalnumeric.py->build/lib.macosx-10.6-intel-3.7
创建build/lib.macosx-10.6-intel-3.7/osgeo
复制osgeo/gnm.py->build/lib.macosx-10.6-intel-3.7/osgeo
正在复制osgeo/_init__.py->build/lib.macosx-10.6-intel-3.7/osgeo
复制osgeo/gdalnumeric.py->build/lib.macosx-10.6-intel-3.7/osgeo
复制osgeo/osr.py->build/lib.macosx-10.6-intel-3.7/osgeo
复制osgeo/gdal.py->build/lib.macosx-10.6-intel-3.7/osgeo
复制osgeo/ogr.py->build/lib.macosx-10.6-intel-3.7/osgeo
复制osgeo/gdal_array.py->build/lib.macosx-10.6-intel-3.7/osgeo
复制osgeo/gdalconst.py->build/lib.macosx-10.6-intel-3.7/osgeo
修复build/lib.macosx-10.6-intel-3.7/gdal.py build/lib.macosx-10.6-intel-3.7/ogr.py build/lib.macosx-10.6-intel-3.7/osr.py build/lib.macosx-10.6-intel-3.7/gdalconst.py build/lib.macosx-10.6-intel-3.7/gdalnumeric.py build/lib.6-macosx-10.6-10.6-intel-3.7/m.py-m.py build/lib-10.6build/lib.macosx-10.6-intel-3.7/osgeo/gdalnumeric.py build/lib.macosx-10.7/osgeo/osr.py build/lib.macosx-10.6-intel-3.7/osgeo/gdal.py build/lib.macosx-10.6-intel-3.7/osgeo/ogr.py build/lib.macosx-10.6-intel-3.7/gdal\u array.geo build/lib.macosx-10.6-3.7
跳过可选修复程序:ws\u逗号
修复build/lib.macosx-10.6-intel-3.7/gdal.py build/lib.macosx-10.6-intel-3.7/ogr.py build/lib.macosx-10.6-intel-3.7/osr.py build/lib.macosx-10.6-intel-3.7/gdalconst.py build/lib.macosx-10.6-intel-3.7/gdalnumeric.py build/lib.6-macosx-10.6-10.6-intel-3.7/m.py-m.py build/lib-10.6build/lib.macosx-10.6-intel-3.7/osgeo/gdalnumeric.py build/lib.macosx-10.7/osgeo/osr.py build/lib.macosx-10.6-intel-3.7/osgeo/gdal.py build/lib.macosx-10.6-intel-3.7/osgeo/ogr.py build/lib.macosx-10.6-intel-3.7/gdal\u array.geo build/lib.macosx-10.6-3.7
跳过可选修复程序:ws\u逗号
运行build_ext
gcc-fno严格别名-Wsign比较-fno公共-动态-DNDEBUG-g-fwrapv-O3-墙-拱门i386-拱门x86_64-g-I/usr/local/opt/openssl@1.1/include-I.././port-I.././gcore-I.././alg-I.././ogr/-I.././ogr/ogrsf_frmts-I.././gnm-I.././apps-I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m-I/Users/tony/Library/Python/3.7/lib/Python/site-packages/numpy/core/include-I/Library/Frameworks/GDAL.framework/Versions/2.4/include-c GDAL_Python_cx11_test.cpp-o GDAL_Python_cx11_test.o
gcc-fno严格别名-Wsign比较-fno公共-动态-DNDEBUG-g-fwrapv-O3-墙-拱门i386-拱门x86_64-g-I/usr/local/opt/openssl@1.1/include-I.././port-I.././gcore-I.././alg-I.././ogr/-I.././ogr/ogrsf_frmts-I.././gnm-I.././apps-I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m-I/Users/tony/Library/Python/3.7/lib/Python/site-packages/numpy/core/include-I/Library/Frameworks/GDAL.framework/Versions/2.4/include-c GDAL\u Python\u cx11\u test.cpp-o GDAL\u Python\u cx11\u test.o-std=c++11
创建var
创建var/文件夹
创建var/folders/6v
创建var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s0000gn
创建var/folders/6v/3ynq2r2d2f7gtj6rvb0kw2s00000gn/T
gcc-fno严格别名-Wsign比较-fno公共-动态-DNDEBUG-g-fwrapv-O3-墙-拱门i386-拱门x86_64-g-I/usr/local/opt/openssl@1.1/include-I.././port-I.././gcore-I.././alg-I.././ogr/-I.././ogr/ogrsf_frmts-I.././gnm-I.././apps-I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m-I/Users/tony/Library/Python/3.7/lib/Python/site-packages/numpy/core/include-I/Library/Frameworks/GDAL.framework/Versions/2.4/include-c/var/folders/6v/3ynq2r2f7gtj6rvb0kw2s0000gn/T/tmpvdsuhy2e.cpp-o var/folders/6v/3ynq2