【发布时间】:2020-02-25 14:16:10
【问题描述】:
现在我有以下因段错误而崩溃的代码:
from shapely import geometry
print(geometry.Polygon([[0, 0], [0, 1], [1, 1], [1, 0]]))
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
我尝试使用 python3.7 -m pip install -U shapely --no-cache 重新安装 shapely,但没有任何效果。我的环境是任何虚拟环境之外的 Ubuntu 18.04 和 Python 3.7。因此,其他关于将 shapely 安装到 anaconda 环境中的问题对我没有帮助。关于如何使身材匀称的工作有什么建议吗?
【问题讨论】:
标签: python segmentation-fault shapely