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

Error caused by Numpy1.13.3, Solved #6

Open
zhangzhanhui opened this issue Jun 29, 2021 · 0 comments
Open

Error caused by Numpy1.13.3, Solved #6

zhangzhanhui opened this issue Jun 29, 2021 · 0 comments

Comments

@zhangzhanhui
Copy link

Hi Vishal,

I installed Deep-Object-Removal by following your doc and everything is ok.

But when I run "python3 main.py", I encountered the problem below.

Deep-Object-Removal % python main.py
RuntimeError: module compiled against API version 0xc but this version of Numpy is 0xb
ImportError: numpy.core.multiarray failed to import
ImportError: numpy.core.umath failed to import
ImportError: numpy.core.umath failed to import

This makes me a little confused.
Finally, I found the 0xc is for Numpy 1.14.1 and the 0xb is for Numpy 1.13.3.
My solution is to upgrade Numpy to 1.14.1 like below.
pip install -U numpy==1.14.1

And then, the issue has gone.

That's it.

Jarvis

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

1 participant