Skip to content
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

OSError: [WinError 126] The specified module could not be found #204

Open
mathmax12 opened this issue Aug 15, 2021 · 1 comment
Open

OSError: [WinError 126] The specified module could not be found #204

mathmax12 opened this issue Aug 15, 2021 · 1 comment

Comments

@mathmax12
Copy link

Hi
Thanks for opensource the nice work.
I am trying to run the model on a Window10 platform.
when I run the sat, I got the following
$ python demo/main/video/sat_video.py --config experiments\sat\test\sat_res50-davis17.yaml --device cuda --video "webcam" Traceback (most recent call last):   File "demo/main/video/sat_video.py", line 12, in <module>     from videoanalyst.config.config import cfg, specify_task   File "c:\users\bigtree\documents\prototype\mtos\video_analyst\videoanalyst\config\config.py", line 5, in <module>     from videoanalyst.engine.tester.builder import get_config as get_tester_cfg   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "c:\users\bigtree\documents\prototype\mtos\video_analyst\videoanalyst\engine\tester\__init__.py", line 1, in <module>     from .tester_impl import *  # noqa   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "c:\users\bigtree\documents\prototype\mtos\video_analyst\videoanalyst\engine\tester\tester_impl\got10k.py", line 10, in <module>     from videoanalyst.evaluation.got_benchmark.experiments import ExperimentGOT10k   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "c:\users\bigtree\documents\prototype\mtos\video_analyst\videoanalyst\evaluation\got_benchmark\experiments\__init__.py", line 3, in <module>     from .dtb70 import ExperimentDTB70   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "c:\users\bigtree\documents\prototype\mtos\video_analyst\videoanalyst\evaluation\got_benchmark\experiments\dtb70.py", line 5, in <module>     from .otb import ExperimentOTB   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "c:\users\bigtree\documents\prototype\mtos\video_analyst\videoanalyst\evaluation\got_benchmark\experiments\otb.py", line 11, in <module>     from ..utils.metrics import rect_iou, center_error   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "c:\users\bigtree\documents\prototype\mtos\video_analyst\videoanalyst\evaluation\got_benchmark\utils\metrics.py", line 4, in <module>     from shapely.geometry import box, Polygon   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shapely\geometry\__init__.py", line 4, in <module>     from .base import CAP_STYLE, JOIN_STYLE   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shapely\geometry\base.py", line 19, in <module>     from shapely.coords import CoordinateSequence   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shapely\coords.py", line 8, in <module>     from shapely.geos import lgeos   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import     return original_import(name, *args, **kwargs)   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\site-packages\shapely\geos.py", line 154, in <module>     _lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll'))   File "C:\Users\bigtree\.conda\envs\mtos_clone\lib\ctypes\__init__.py", line 364, in __init__     self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found

Any suggestions will be appreciated.

@lzx1413
Copy link
Contributor

lzx1413 commented Oct 8, 2021

We didn't test this repo on Win10. It is suggested to run the code on a Linux system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants