Skip to content

numpy.core.multiarray failed to import #74

@yotam-medini

Description

@yotam-medini

Describe the bug
running oemer 1orig.jpg
fails with attached log

Input Image
The original image that triggers this bug (not the image name). In .jpg or .png format, .pdf file will not work.

You can attach the image file by simply dragging the file to the text area.

IMPORTANT The issue will be closed directly if you don't provide the image and the issue relates to transcription bugs.

Full Traceback
The complete error traceback.
Traceback (most recent call last): File "/home/yotam/.local/bin/oemer", line 5, in
from oemer.ete import main
File "/home/yotam/.local/lib/python3.10/site-packages/oemer/ete.py", line 21, in
from oemer.dewarp import estimate_coords, dewarp
File "/home/yotam/.local/lib/python3.10/site-packages/oemer/dewarp.py", line 9, in
import scipy.ndimage
File "/usr/lib/python3/dist-packages/scipy/ndimage/init.py", line 151, in
from ._filters import * # noqa: F401 F403
File "/usr/lib/python3/dist-packages/scipy/ndimage/_filters.py", line 37, in
from . import _nd_image
AttributeError: _ARRAY_API not found
Traceback (most recent call last):
File "/home/yotam/.local/bin/oemer", line 5, in
from oemer.ete import main
File "/home/yotam/.local/lib/python3.10/site-packages/oemer/ete.py", line 21, in
from oemer.dewarp import estimate_coords, dewarp
File "/home/yotam/.local/lib/python3.10/site-packages/oemer/dewarp.py", line 9, in
import scipy.ndimage
File "/usr/lib/python3/dist-packages/scipy/ndimage/init.py", line 151, in
from ._filters import * # noqa: F401 F403
File "/usr/lib/python3/dist-packages/scipy/ndimage/_filters.py", line 37, in
from . import _nd_image
ImportError: numpy.core.multiarray failed to import

Image

Command You Execute
oemer 1orig.jpeg

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