Could not find library geos_c or load any of its variants

前端 未结 8 1433
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-01 07:31

I use python in fedora 19. I wanted to run the following line Python: import shapely.geometry the following error appears:

OSError: C

8条回答
  •  旧巷少年郎
    2020-12-01 07:35

    set the LD_LIBRARY_PATH, then run python

    export LD_LIBRARY_PATH=/path_to/geos/lib:$LD_LIBRARY_PATH
    
    python mytest.py
    

提交回复
热议问题