sepconv icon indicating copy to clipboard operation
sepconv copied to clipboard

ModuleNotFoundError: No module named 'libs.sepconv._ext.cunnex._cunnex'

Open repers opened this issue 5 years ago • 2 comments

Hi, I have tried to get the code running however I get this: Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/rf/sepconv/src/main.py", line 16, in from src.model import Net File "/home/rf/sepconv/src/model.py", line 10, in from libs.sepconv.SeparableConvolution import SeparableConvolution File "/home/rf/sepconv/libs/sepconv/SeparableConvolution.py", line 8, in import libs.sepconv._ext.cunnex File "/home/rf/sepconv/libs/sepconv/_ext/cunnex/init.py", line 3, in from ._cunnex import lib as _lib, ffi as _ffi ModuleNotFoundError: No module named 'libs.sepconv._ext.cunnex._cunnex'

I have tested this on 3 different systems with the required software version including cuda installed, searching up this issue has yielded no useful answers

Any suggestions as to what's going wrong? Thanks in advance

repers avatar Jan 14 '20 13:01 repers

Hi, I have tried to get the code running however I get this: Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/rf/sepconv/src/main.py", line 16, in from src.model import Net File "/home/rf/sepconv/src/model.py", line 10, in from libs.sepconv.SeparableConvolution import SeparableConvolution File "/home/rf/sepconv/libs/sepconv/SeparableConvolution.py", line 8, in import libs.sepconv._ext.cunnex File "/home/rf/sepconv/libs/sepconv/_ext/cunnex/init.py", line 3, in from ._cunnex import lib as _lib, ffi as _ffi ModuleNotFoundError: No module named 'libs.sepconv._ext.cunnex._cunnex'

I have tested this on 3 different systems with the required software version including cuda installed, searching up this issue has yielded no useful answers

Any suggestions as to what's going wrong? Thanks in advance

you should install sepconv in ./lib/sepconv first.

shishichang avatar Apr 16 '20 08:04 shishichang

Hi, I have tried to get the code running however I get this: Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/rf/sepconv/src/main.py", line 16, in from src.model import Net File "/home/rf/sepconv/src/model.py", line 10, in from libs.sepconv.SeparableConvolution import SeparableConvolution File "/home/rf/sepconv/libs/sepconv/SeparableConvolution.py", line 8, in import libs.sepconv._ext.cunnex File "/home/rf/sepconv/libs/sepconv/_ext/cunnex/init.py", line 3, in from ._cunnex import lib as _lib, ffi as _ffi ModuleNotFoundError: No module named 'libs.sepconv._ext.cunnex._cunnex' I have tested this on 3 different systems with the required software version including cuda installed, searching up this issue has yielded no useful answers Any suggestions as to what's going wrong? Thanks in advance

you should install sepconv in ./lib/sepconv first.

image When I execute the bash file, there still seems to be some problems,

wayne2tech avatar Nov 24 '21 09:11 wayne2tech