awesome-semantic-segmentation-pytorch icon indicating copy to clipboard operation
awesome-semantic-segmentation-pytorch copied to clipboard

ImportError,cannot import name '_C' from 'core.nn' (/home/pmy/PycharmProjects/lunwen_code/awesome-semantic-segmentation-pytorch-master/core/nn/__init__.py)

Open web3-panpan opened this issue 5 years ago • 5 comments

web3-panpan avatar Sep 05 '19 03:09 web3-panpan

I have encountered the same problem, have you solved it?

opee007 avatar Sep 10 '19 02:09 opee007

我已经解决了,我不知道你安没安装成功 如果安装成功了还报这个错误你需要再次安装readme里面的python setup.py build develop操作, 然后重启机器就好了,希望能够帮到你

------------------ 原始邮件 ------------------ 发件人: "opee007"[email protected]; 发送时间: 2019年9月10日(星期二) 上午10:08 收件人: "Tramac/awesome-semantic-segmentation-pytorch"[email protected]; 抄送: "fossette"[email protected];"Author"[email protected]; 主题: Re: [Tramac/awesome-semantic-segmentation-pytorch] ImportError,cannotimport name '_C' from 'core.nn'(/home/pmy/PycharmProjects/lunwen_code/awesome-semantic-segmentation-pytorch-master/core/nn/init.py)(#66)

I have encountered the same problem, have you solved it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

web3-panpan avatar Sep 10 '19 05:09 web3-panpan

我已经解决了,我不知道你安没安装成功 如果安装成功了还报这个错误你需要再次安装readme里面的python setup.py build develop操作, 然后重启机器就好了,希望能够帮到你 ------------------ 原始邮件 ------------------ 发件人: "opee007"[email protected]; 发送时间: 2019年9月10日(星期二) 上午10:08 收件人: "Tramac/awesome-semantic-segmentation-pytorch"[email protected]; 抄送: "fossette"[email protected];"Author"[email protected]; 主题: Re: [Tramac/awesome-semantic-segmentation-pytorch] ImportError,cannotimport name '_C' from 'core.nn'(/home/pmy/PycharmProjects/lunwen_code/awesome-semantic-segmentation-pytorch-master/core/nn/init.py)(#66) I have encountered the same problem, have you solved it? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

谢了,没有仔细读readme...

opee007 avatar Sep 10 '19 06:09 opee007

一次只能开启一个python脚本,不然第二个就会报这个错误

balabala7776 avatar Sep 20 '19 07:09 balabala7776

I was giving an error when I am doing python setup.py build develop .error: command 'D:\deeplearning\anaconda\Library\mingw-w64\bin\gcc.exe' failed with exit status 1

shifangtian avatar Oct 17 '19 14:10 shifangtian