LightNet icon indicating copy to clipboard operation
LightNet copied to clipboard

ImportError: No module named 'modules._ext.__ext'

Open dannyhung1128 opened this issue 7 years ago • 2 comments

Hi,

in modules/_ext/init.py, line 2 from .__ext import lib as _lib, ffi as _ffi

I couldn't find __ext, is there something missing?

I have installed inplace_abn.

Thanks for your help

dannyhung1128 avatar May 05 '18 03:05 dannyhung1128

Fixed by executing

cd modules/
python3 build.py

Thanks!

dannyhung1128 avatar May 05 '18 03:05 dannyhung1128

Hi! When trying to run your suggested Code, I encounter the following Error: TypeError: dist must be a Distribution instance

All the suggestions I have researched did not work. Could you tell me which versions of pytorch etc you are using?

JaninaPa avatar Mar 26 '21 15:03 JaninaPa