You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(pypi_venv) (py312) opavlyk@opavlyk-mobl:~/tmp$ python -c "import dpctl"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/opavlyk/tmp/pypi_venv/lib/python3.12/site-packages/dpctl/__init__.py", line 29, in <module>
from ._device_selection import select_device_with_aspects
File "/home/opavlyk/tmp/pypi_venv/lib/python3.12/site-packages/dpctl/_device_selection.py", line 20, in <module>
from ._sycl_device import SyclDevice, SyclDeviceCreationError
ImportError: libintlc.so.5: cannot open shared object file: No such file or directory
Executing patchelf --set-rpath '$ORIGIN:$ORIGIN/../../../' --force-rpath $VIRTUAL_ENV/lib/python3.12/site-packages/dpctl/*.cpython*.so fixes the problem, because it allows Python modules to find the dependent DPC++ runtime libraries in Python prefix's lib folder.
The text was updated successfully, but these errors were encountered:
I executed the following steps;
Observed output:
Executing
patchelf --set-rpath '$ORIGIN:$ORIGIN/../../../' --force-rpath $VIRTUAL_ENV/lib/python3.12/site-packages/dpctl/*.cpython*.so
fixes the problem, because it allows Python modules to find the dependent DPC++ runtime libraries in Python prefix'slib
folder.The text was updated successfully, but these errors were encountered: