使用python3 setup.py install在Macbook上安装底图时出现问题,
src / _proj.c:6801:13:错误:“结构_ts”中没有名为“ exc_traceback”的成员;您是说'curexc_traceback'吗? tstate-> exc_traceback = tb; ^ ~~~~~~~~~~~~ cursexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15:注意:此处声明了“ curexc_traceback” PyObject * curexc_traceback; ^ 生成52个警告和15个错误。 错误:命令“ clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Isrc -I / usr / local / lib / python3.7 / site-packages / numpy / core / include -I / usr / local / include -I / usr / local / opt / openssl / include -I / usr / local / opt / sqlite / include -I / usr / local / Cellar / python / 3.7.0 / Frameworks / Python.framework / Versions / 3.7 / include / python3.7m -c src / _proj.c -o build / temp.macosx-10.13-x86_64-3.7 / src / _proj.o -MMD- MF build / temp.macosx-10.13-x86_64-3.7 / src / _proj.od”失败,退出状态为1
是什么原因造成的?