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
I tried setting LD_LIBRARY_PATH and so on, but it didn't work.
So I solved it by registering SO libraries directly in the code to handle it, which is not a clean way but annoying.
The order of the SO libraries below is important.
Some of them have dependencies on each other and need to be loaded first.
<<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /home/slate/pinokio/api/instantstyle.git/app/env/bin/activate /home/slate/pinokio/api/instantstyle.git/app/env ; python app.py
Traceback (most recent call last):
File "/home/slate/pinokio/api/instantstyle.git/app/app.py", line 7, in
import cv2
File "/home/slate/pinokio/api/instantstyle.git/app/env/lib/python3.10/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/home/slate/pinokio/api/instantstyle.git/app/env/lib/python3.10/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/home/slate/pinokio/bin/miniconda/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libpng16-ef62451c.so.16.44.0: cannot open shared object file: No such file or directory
(env) (base) <<PINOKIO_SHELL>>
the library are missing, i try to instal them via pip but with no resoult.
Any suggestions?
The text was updated successfully, but these errors were encountered: