小编Avi*_*uva的帖子

当pip安装它时,pyproj无法编译.这不是关于gcc

它会抛出错误,使得代码看起来有些错误,例如:

 _proj.c:7486:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
     tstate->exc_type = local_type;
             ^~~~~~~~
             curexc_type
_proj.c:7487:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
     tstate->exc_value = local_value;
             ^~~~~~~~~
             curexc_value
_proj.c:7488:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
     tstate->exc_traceback = local_tb;
Run Code Online (Sandbox Code Playgroud)

它是pyproj版本1.9.5.1

python pyproj

2
推荐指数
1
解决办法
1366
查看次数

标签 统计

pyproj ×1

python ×1