Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: dynamic module does not define module export function (PyInit_nms) #6

Closed
Zakiyi opened this issue Dec 27, 2017 · 4 comments

Comments

@Zakiyi
Copy link

Zakiyi commented Dec 27, 2017

Hello, thx for sharing, I'd like to run the script on my own data, but there is a Importerror when import _nms.so file. i.e. from ._nms import lib as _lib, ffi as _ffi, the specific error like this:

importerror dynamic module does not define module export function(PyInit_nms)

I wonder whether the python version account for this (since I use python3.5), so i try to rebuild the _nms.so, but there seems no related file that used for generating _nms.so file.

@jwyang
Copy link
Owner

jwyang commented Dec 27, 2017

yes, i did not commit nms source files. I will add them as well.

@jwyang
Copy link
Owner

jwyang commented Dec 27, 2017

@Zakiyi ,

I have added them. you just need to run make.sh in lib folder to compile all the dependencies with python 3.5.

@jwyang jwyang closed this as completed Dec 27, 2017
@Zakiyi
Copy link
Author

Zakiyi commented Dec 28, 2017

Great thanks!!!

@jwyang
Copy link
Owner

jwyang commented Dec 28, 2017

no problem. let me know if there are any issues on compiling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants