shapely geos_c.dll FileNotFoundError #10
Answered
by
HowcanoeWang
HowcanoeWang
asked this question in
Q&A
-
Traceback (most recent call last):
File "01_clip_soybean.py", line 20, in <module>
from easyric.caas_lite import TiffSpliter
File "Z:\hwang_Pro\github\EasyIDP\easyric\__init__.py", line 1, in <module>
from easyric.objects import (
File "Z:\hwang_Pro\github\EasyIDP\easyric\objects.py", line 4, in <module>
from easyric.io import pix4d, geotiff, shp, plot
File "Z:\hwang_Pro\github\EasyIDP\easyric\io\geotiff.py", line 7, in <module>
from easyric import caas_lite
File "Z:\hwang_Pro\github\EasyIDP\easyric\caas_lite.py", line 11, in <module>
from shapely.geometry import Polygon, MultiPolygon
File "C:\ProgramData\Miniconda3\envs\lab\lib\site-packages\shapely\geometry\__init__.py", line 4, in <module>
from .base import CAP_STYLE, JOIN_STYLE
File "C:\ProgramData\Miniconda3\envs\lab\lib\site-packages\shapely\geometry\base.py", line 19, in <module>
from shapely.coords import CoordinateSequence
File "C:\ProgramData\Miniconda3\envs\lab\lib\site-packages\shapely\coords.py", line 8, in <module>
from shapely.geos import lgeos
File "C:\ProgramData\Miniconda3\envs\lab\lib\site-packages\shapely\geos.py", line 154, in <module>
_lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll'))
File "C:\ProgramData\Miniconda3\envs\lab\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\ProgramData\Miniconda3\envs\lab\Library\bin\geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax. |
Beta Was this translation helpful? Give feedback.
Answered by
HowcanoeWang
Oct 20, 2021
Replies: 1 comment
-
please download the geos_c.dll from the following link: https://www.dll-files.com/geos_c.dll.html, and put it into the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HowcanoeWang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please download the geos_c.dll from the following link: https://www.dll-files.com/geos_c.dll.html, and put it into the
C:\ProgramData\Miniconda3\envs\lab\Library\bin\geos_c.dll
folder