ALFNet icon indicating copy to clipboard operation
ALFNet copied to clipboard

ImportError: ***cython_bbox.so: undefined symbol: _Py_ZeroStructImportError:

Open prolulu opened this issue 6 years ago • 5 comments

ImportError: ***cython_bbox.so: undefined symbol: _Py_ZeroStructImportError: 在编译train.py和test.py时都出现了这种问题。请问这是什么原因造成的?是因为cython的版本太新了吗?我的cython版本为0.28 。还是因为cython_bbox.so与py2.7有联系,而我的Python版本是3.7。

prolulu avatar Jun 04 '19 09:06 prolulu

ImportError: ***cython_bbox.so: undefined symbol: _Py_ZeroStructImportError: This problem occurs when compiling train.py and test.py. Why? Is it because the version of cython is too new? My cython version is 0.28. Or because cython_bbox.so is associated with py2.7? And my Python version is 3.7.

prolulu avatar Jun 04 '19 09:06 prolulu

follow the author requirement with py2.7

nankeermeng avatar Jun 05 '19 16:06 nankeermeng

请问解决了吗 我也遇到一样的问题

aaronchen98 avatar Jun 23 '19 09:06 aaronchen98

我是把所有版本都统一了一下解决的,把faster rccn utils 也make了一下,加油,最好先统一版本,keras版本和tensorflow版本之间的版本兼容性一定要统一,我也是被折腾了好久,最后统一了版本才好的

------------------ 原始邮件 ------------------ 发件人: "浩瀚宇宙"[email protected]; 发送时间: 2019年6月23日(星期天) 下午5:38 收件人: "liuwei16/ALFNet"[email protected]; 抄送: "hold"[email protected];"Comment"[email protected]; 主题: Re: [liuwei16/ALFNet] ImportError: ***cython_bbox.so: undefinedsymbol: _Py_ZeroStructImportError: (#14)

请问解决了吗 我也遇到一样的问题

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

nankeermeng avatar Jun 29 '19 07:06 nankeermeng

我是把所有版本都统一了一下解决的,把faster rccn utils 也make了一下,加油,最好先统一版本,keras版本和tensorflow版本之间的版本兼容性一定要统一,我也是被折腾了好久,最后统一了版本才好的 ------------------ 原始邮件 ------------------ 发件人: "浩瀚宇宙"[email protected]; 发送时间: 2019年6月23日(星期天) 下午5:38 收件人: "liuwei16/ALFNet"[email protected]; 抄送: "hold"[email protected];"Comment"[email protected]; 主题: Re: [liuwei16/ALFNet] ImportError: ***cython_bbox.so: undefinedsymbol: _Py_ZeroStructImportError: (#14) 请问解决了吗 我也遇到一样的问题 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

您好,我之前遇到了的是这个cython_bbox.so的问题,后来看到您的回复通过faster rcnn utils make了一下,替换了cython_bbox.so文件,所以这个不报错了,但是报了utils/bbox.so: undefined symbol: _Py_ZeroStruct,,,,,我在想是不是再替换掉bbox.so 就可以运行了???想请问能不能麻烦您发给我一份这个bbox.so文件。。。不胜感激

lhs21 avatar Sep 29 '19 02:09 lhs21