Hello, I'm using this script for a long time and it works perfectly fine but I tried to get it for a friend and he keeps getting the "ModuleNotFoundError". No matter what we do, I checked everything, pip, moviepy, importlib.resources, ffmpeg etc, EVERYTHING. And it's all the same version as mine and all the folders look the same, but mine works and his doesn't. Any help?
View attachment 112905
As the error says, Python cannot find the module called "importlib.resources." Make sure you have it. I attached my copy just in case you need it. Alternatively, you can download it
here, then extract the folder (it's a subfolder in a subfolder in the zip) and put that in your Python site-packages directory instead. However, shouldn't they be installed already? I have only tested this on this
version of Python.
If your files are already there, it could be a path issue. It seems to call for "importlib.resources" while the folder is called "importlib_resources" - you could try renaming it and see if that fixes it.
If that also doesn't work, my last idea would be to type "environment variables" into your Windows search, navigate to Environment Variables at the bottom right corner, click on Path, then edit, then new -> put your Python install there. That should ensure that whatever module is being called is found. Let me know if any of these fixes solved your problem.