-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: DLL load failed while importing _rife_ncnn_vulkan_wrapper: The specified module could not be found. #1
Comments
Thank you for your issue. The release package hasn't been fully tested under windows, so your issues reminded me to have a look at the behavior of it on windows. I have downloaded the release package and had a short check on the zip archive (I am busy working on my assignments recently, so I can only have short checks before I am have time to boot up my windows machine for testing the issue.). I found that the DLL lib file "rife-ncnn-vulkan-python-20210504-windows/_rife_ncnn_vulkan_wrapper.pyd" is there. So I think 🤔 it should work. Could you have a look at where "_rife_ncnn_vulkan_wrapper.pyd" is and check if it is located within the same folder with _rife_ncnn_vulkan_wrapper.py? |
Thank you for answering quickly. I checked and the file is located in the folder. To be sure, here is my terminal output ;)
Here is also my python version
|
I confirmed that the problem exists. It is caused by CMake compilie configurations which |
Signed-off-by: ArchieMeng <[email protected]>
Signed-off-by: ArchieMeng <[email protected]>
Signed-off-by: ArchieMeng <[email protected]>
Sorry to tell you that this issue is quite complicated to solve. Since the upstream has already got two version updates to follow, I need to make new release now. |
Signed-off-by: ArchieMeng <[email protected]>
…ssue #1 Signed-off-by: ArchieMeng <[email protected]>
…ssue #1 Signed-off-by: ArchieMeng <[email protected]>
Could you try the new binaries? |
Unfortunately, the rife |
Btw, I also tried manually building by MSVC after cloning the whole project. the import also crashes loading under my python 3.7.9 env. The cmake config could be still problematic. |
#5 This fixed my issue in my fork after referring to other media2x closed issues, the |
Thank you for your PR. We forgot to add the PY_VERSION patch after @k4yt3x implemented the download tricks in setup.py. |
when you try to import the module: "from rife_ncnn_vulkan import RIFE"
the following error will come:
Traceback (most recent call last):
File ".\run_test.py", line 1, in
from rife_ncnn_vulkan import RIFE
File "C:\Users%username%\Projects\Restoration_GUI\rife\rife_ncnn_vulkan.py", line 12, in
import rife_ncnn_vulkan_wrapper as raw
File "C:\Users%username%\Projects\Restoration_GUI\rife\rife_ncnn_vulkan_wrapper.py", line 15, in
import _rife_ncnn_vulkan_wrapper
ImportError: DLL load failed while importing _rife_ncnn_vulkan_wrapper: The specified module could not be found.
I download the following file:
When downloading rife-ncnn-vulkan-python-20210504-windows.zip
This is also the case for previous builds
The text was updated successfully, but these errors were encountered: