mmskeleton icon indicating copy to clipboard operation
mmskeleton copied to clipboard

ImportError: cannot import name 'import_class'

Open syy19920919 opened this issue 5 years ago • 7 comments

ImportError: cannot import name 'import_class'

syy19920919 avatar Aug 27 '19 02:08 syy19920919

cd torchlight; python setup.py install; cd ..

yxxxqqq avatar Aug 27 '19 02:08 yxxxqqq

According to your order, you cannot still import files.

tcxia avatar Sep 09 '19 05:09 tcxia

Hey @MarsTT did you resolved that issue?

vjayd avatar Oct 07 '19 08:10 vjayd

If you use conda to run st-gcn/mmskeleton in an isolated environment, you need to activate the environment in the terminal source activate environmentname before cd torchlight; python setup.py install; cd .. or the customized torchlight will be installed to your global/base environment instead of the isolated one.

@vjayd @MarsTT @syy19920919

lemonci avatar Oct 10 '19 12:10 lemonci

Thanks for the response, I manually copied torchlight folder in the main repo and did some tweaking/ renaming stuffs to work.

vjayd avatar Oct 15 '19 03:10 vjayd

Hi @vjayd I've tried to copy the torchlight folder in the main repo with no success. Can you please explain how you did it and the tweaking/renaming ?

arusse13 avatar May 04 '20 22:05 arusse13

I meet this error. But it success after cd torchlight; python setup.py install; cd ..

Guangjun-A avatar Oct 23 '20 11:10 Guangjun-A