-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when windows anaconda run imagepy #107
Comments
@yxdragon can you take a look? |
it seems the geos package can't be installed. You may try to install this package independently and then return to condo to install imagepy. |
It is the matter of shapely, try the binary whl? |
缺少geos_c.dll模块,在https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely,下载对应版本的Shapely的whl文件,重装即可。 |
I create an evn named imagepy and pip install all reqired package according to requirement.txt.
(imagepy) F:\github\imagepy>python -m imagepy
Traceback (most recent call last):
File "d:\Anaconda3\envs\imagepy\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "d:\Anaconda3\envs\imagepy\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "F:\github\imagepy\imagepy_main.py", line 3, in
from imagepy.core.app import loader, ImagePy
File "F:\github\imagepy\imagepy\core\app_init.py", line 1, in
from .imagepy import ImagePy
File "F:\github\imagepy\imagepy\core\app\imagepy.py", line 6, in
from sciwx.canvas import CanvasNoteBook
File "F:\github\imagepy\sciwx\canvas_init_.py", line 2, in
from .mcanvas import MCanvas, ICanvas, VCanvas
File "F:\github\imagepy\sciwx\canvas\mcanvas.py", line 4, in
from .canvas import Canvas
File "F:\github\imagepy\sciwx\canvas\canvas.py", line 5, in
from sciapp.object import Image, Shape, mark2shp, Layer, json2shp
File "F:\github\imagepy\sciapp\object_init_.py", line 1, in
from .shape import *
File "F:\github\imagepy\sciapp\object\shape.py", line 4, in
import shapely.geometry as geom
File "d:\Anaconda3\envs\imagepy\lib\site-packages\shapely\geometry_init_.py", line 4, in
from .base import CAP_STYLE, JOIN_STYLE
File "d:\Anaconda3\envs\imagepy\lib\site-packages\shapely\geometry\base.py", line 18, in
from shapely.coords import CoordinateSequence
File "d:\Anaconda3\envs\imagepy\lib\site-packages\shapely\coords.py", line 8, in
from shapely.geos import lgeos
File "d:\Anaconda3\envs\imagepy\lib\site-packages\shapely\geos.py", line 145, in
lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll'))
File "d:\Anaconda3\envs\imagepy\lib\ctypes_init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。
The text was updated successfully, but these errors were encountered: