Skip to content

Needs to support the latest streamline and numpy >2.x #19

Description

@abcbarryn

ImportError: numpy.core.multiarray failed to import
Traceback:
File "/root/BackgroundRemoval/bg_remove.py", line 2, in
from rembg import remove
File "/usr/local/lib/python3.11/site-packages/rembg/init.py", line 5, in
from .bg import remove
File "/usr/local/lib/python3.11/site-packages/rembg/bg.py", line 8, in
from cv2 import (
File "/usr/local/lib64/python3.11/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/usr/local/lib64/python3.11/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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