Errors when installing basemaplib

Viewed 339

I am having issues when installing basemap on my Macbook using python3 setup.py install,

src/_proj.c:6801:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tstate->exc_traceback = tb; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ 52 warnings and 15 errors generated. error: Command "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.o.d" failed with exit status 1

what could be causing this?

0 Answers
Related