Skip to content

[backend_cpu] Import error

What commit version of aidge do you use

  • aidge_core: 0.2.3.dev544+g07c12bbb
  • aidge_backend_cpu: 0.3.2.dev17+g2a745b7

Problem description

Unable to import aidge_backend_cpu.

Is this a regression ? Yes

Reproducible example code and log

(env_aidge) farges@WDTIS181H:/mnt/d/farges/Documents$ python3
Python 3.8.16 (default, Oct 29 2024, 09:03:22)
[GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import aidge_core
>>> import aidge_backend_cpu
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/mnt/d/farges/Documents/aidge/env_aidge/lib/python3.8/site-packages/aidge_backend_cpu/__init__.py", line 2, in <module>
    from aidge_backend_cpu.aidge_backend_cpu import * # import so generated by PyBind
ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

Context

(env_aidge) farges@WDTIS181H:/mnt/d/farges/Documents/aidge/env_aidge/lib/python3.8/site-packages/aidge_backend_cpu$ ls
__init__.py  __pycache__  _version.py  aidge_backend_cpu.cpython-310-x86_64-linux-gnu.so  aidge_backend_cpu.cpython-38-x86_64-linux-gnu.so  version.txt

Linked to old closed issue

#9 (moved)

Edited by Jean-Loup Farges