2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

shapely環境構築で、OSError: Could not find library geos_c or load any of its variants (略)エラーの解決策

Posted at

#使用環境
MacbookPro(13-inch 2017)
Big Sur(ver11.1)

#shapeleインストール時
pip install shapelyで下記エラー発生

##ERROR: Command errored out with exit status 1:

status1でコマンドが中止されたことを示しているよう。
解決策不明。

##OSError: Could not find library geos_c or load any of its variants ['/Library/Frameworks/GEOS.framework/Versions/Current/GEOS', '/opt/local/lib/libgeos_c.dylib', '/usr/local/lib/libgeos_c.dylib']

shapely公式によるとGeosが必要らしい。
brew install geosで解決。

※shapely-wheelsをインストールする解決策も出てきたが、よくわかっていない。
※Windowsだと別途用意されている解決方法があるらしい。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?