Skip to content

Error caused by Numpy1.13.3, Solved #6

Description

@zhangzhanhui

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions