Arminius-Software / face2video

MIT License
61 stars 3 forks source link

I did #8

Open JeltzProstetnic opened 1 week ago

JeltzProstetnic commented 1 week ago

right after install.py:

Traceback (most recent call last): File "C:_AI\deforum2\webui\extensions\face2video\main.py", line 3, in import copy_sound_from_video File "C:_AI\deforum2\webui\extensions\face2video\copy_sound_from_video.py", line 1, in from moviepy.editor import VideoFileClip ModuleNotFoundError: No module named 'moviepy'

However, moviepy was successfully installed. What is going on here? Can you help me?

Arminius-Software commented 1 week ago

Hi, it looks like you installed face2video inside some kind of extension folder. It would probably be best not to mix this up with other scripts/environments.

I think this is most likely due to some other conflicting installs if you installed the libraries into your global Python environment. If that is the case, then using a virtual environment for the program should fix your issue. You can do that with a few simple commands (run in cmd with the path to the files of face2video. assuming your are using Windows):

"python -m venv venv" "venv\Scripts\activate" "python install.py" "python main.py"

Let me know if using a clean new environment does not fix your problem.