安装basemaplib时出现错误

时间:2018-09-06 05:30:02

标签: python-3.x macos matplotlib-basemap

使用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

是什么原因造成的?

0 个答案:

没有答案