nathfavour/bionicpython

ImportError: DLL load failed while importing numpy_ops

Closed this issue · 3 comments

OS: Windows 10

To replicate:

  1. Download Zip package repository
  2. Install Requirements.txt ---> pip install -r Requirements.txt
  3. Run bionicpython.py <path.pdf>*

Traceback (most recent call last):
File "\Downloads\bionicpython-master\bionicpython-master\bionicpython\bionicpython.py", line 9, in
import spacy
File "\AppData\Local\Programs\Python\Python312\Lib\site-packages\spacy_init
.py", line 6, in
from .errors import setup_default_warnings
File "\AppData\Local\Programs\Python\Python312\Lib\site-packages\spacy\errors.py", line 3, in
from .compat import Literal
File "\AppData\Local\Programs\Python\Python312\Lib\site-packages\spacy\compat.py", line 39, in
from thinc.api import Optimizer # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\AppData\Local\Programs\Python\Python312\Lib\site-packages\thinc\api.py", line 1, in
from .backends import (
File "AppData\Local\Programs\Python\Python312\Lib\site-packages\thinc\backends_init_.py", line 17, in
from .cupy_ops import CupyOps
File "AppData\Local\Programs\Python\Python312\Lib\site-packages\thinc\backends\cupy_ops.py", line 16, in
from .numpy_ops import NumpyOps
ImportError: DLL load failed while importing numpy_ops: No se puede encontrar el módulo especificado._

Hi, sorry for your error...I think it's related to a numpy_ops library.

I only tested bionicpython on Mac
Pending the time I work on it, can you reinstall numpy

I just tested it on my windows 11 machine, it works fine.
Also previously used it on ubuntu, so I can confirm that it works fine.