FS#77838 - [python-torchvision-cuda] Failed to load image Python extension: libnvjpeg.so.11
Attached to Project:
Community Packages
Opened by DarcyHu (DarcyHu) - Monday, 13 March 2023, 07:55 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 16 March 2023, 13:33 GMT
Opened by DarcyHu (DarcyHu) - Monday, 13 March 2023, 07:55 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 16 March 2023, 13:33 GMT
|
Details
Description:
Failed to load image Python extension: libnvjpeg.so.11 due to cuda upgrade. Additional info: * 0.14.1-1 Steps to reproduce: `python -c "import torchvision"`: ```text /usr/lib/python3.10/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: libnvjpeg.so.11: cannot open shared object file: No such file or directory warn(f"Failed to load image Python extension: {e}") ``` rebuild it with cuda 12.1.0-1 should fix it. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Thursday, 16 March 2023, 13:33 GMT
Reason for closing: Fixed
Thursday, 16 March 2023, 13:33 GMT
Reason for closing: Fixed
Comment by DarcyHu (DarcyHu) -
Monday, 13 March 2023, 08:09 GMT
Comment by
Konstantin Gizdov (kgizdov) -
Wednesday, 15 March 2023, 20:37 GMT
Comment by DarcyHu (DarcyHu) -
Thursday, 16 March 2023, 01:07 GMT
BTW, it seems that python-torchvision also depends on
python-sympy.
Does python-torchvision-cuda 0.15.1-1 fix it?
Yes, python-torchvision-cuda 0.15.1-1 fix this issue.