media2x / rife-ncnn-vulkan-python

A Python FFI of nihui/rife-ncnn-vulkan achieved with SWIG
MIT License
36 stars 11 forks source link

google colab errors and libvulkan.so.1 not found?? #7

Open rony432 opened 11 months ago

rony432 commented 11 months ago

i have this file libvulkan.so.1 in /content/libvulkan.so.1 is there download link for this file libvulkan.so.1

i even copy /usr/local/lib/python3.10/dist-packages/rife_ncnn_vulkan_python/ still nothing

where do i put this file, there is not single result on google for this

error

ImportError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/rife_ncnn_vulkan_python/rife_ncnn_vulkan_wrapper.py in swig_import_helper() 13 try: ---> 14 return importlib.import_module(mname) 15 except ImportError:

14 frames ImportError: libvulkan.so.1: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

ModuleNotFoundError Traceback (most recent call last) /usr/lib/python3.10/importlib/init.py in import_module(name, package) 124 break 125 level += 1 --> 126 return _bootstrap._gcd_import(name[level:], package, level) 127 128

ModuleNotFoundError: No module named '_rife_ncnn_vulkan_wrapper'


NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the "Open Examples" button below.