dunnousername / yanderifier

First-Order-Wrapper (formerly known as Yanderify) is a front-end tool for first-order-motion. It aims to make using first-order-motion face animation accessible to everyone, for education and entertainment.
1.76k stars 291 forks source link

Failed a sanity check #38

Open bryanhjn opened 4 years ago

bryanhjn commented 4 years ago

Failed a sanity check. You should tell the devs about this! Traceback (most recent call last): File "install\postinstall.py", line 10, in raise e File "install\postinstall.py", line 4, in import numpy as np ModuleNotFoundError: No module named 'numpy'

HenrijsS commented 4 years ago

After installing numpy (using:) pip install numpy

Runing the post-install again:

Failed a sanity check. You should tell the devs about this! Traceback (most recent call last): File ".\postinstall.py", line 10, in raise e File ".\postinstall.py", line 7, in subprocess.check_output('ffmpeg -h') File "D:\Program Files (x86)\Python\lib\subprocess.py", line 411, in check_output return run(popenargs, stdout=PIPE, timeout=timeout, check=True, File "D:\Program Files (x86)\Python\lib\subprocess.py", line 489, in run with Popen(popenargs, **kwargs) as process: File "D:\Program Files (x86)\Python\lib\subprocess.py", line 854, in init self._execute_child(args, executable, preexec_fn, close_fds, File "D:\Program Files (x86)\Python\lib\subprocess.py", line 1307, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified

NPBeta commented 4 years ago

lol this is NOT caused by numpy and you don't need to install dependencies yourself. It is caused by an error before it: CondaValueError: invalid package specification: x264=='1!152.20180717' This will cause the conda environment fail to create, so those dependencies won't install automatically. Please comment or just simply delete the last line - x264=='1!152.20180717' in environment.yml, and run the installation again. Note that this just a temporary fix, and may lead to x264 encoded videos fail to load.

csrednicki commented 3 years ago

I have the same error

Animan8000 commented 3 years ago

@csrednicki What version of Yanderify are you using?

csrednicki commented 3 years ago

@csrednicki What version of Yanderify are you using?

Latest, today I cloned repo

Animan8000 commented 3 years ago

Umm, I hope it's not the repository files themselves. The main branch also is the really buggy v3 (a lot of people reported installation issues for v3). For official releases I recommend either v4.0.3 or 2.0.5 or if you got an RTX 3K card, then the new v5 alpha.

If you're looking for the source code specifically instead, like for the latest v4 version, it has it's own branch with the code.

xference commented 3 years ago

@HenrijsS So have you solve the errors you mentioned? I also meet the same, could you please deliver me the way!?

Animan8000 commented 3 years ago

@HenrijsS So have you solve the errors you mentioned? I also meet the same, could you please deliver me the way!?

You got this issue on a release or you downloaded the repo for changing the source code only?

xference commented 3 years ago

@Animan8000 just download the clone ZIP

Animan8000 commented 3 years ago

@Animan8000 just download the clone ZIP

I'm sorry for the late response. You wanna download a release I assume, not clone the repository (cloning is for messing with the source code and changing it. Also the main branch is outdated if you're interested into the source code only, latest-v4 is the newest branch if you're looking for that).

If you're using one of the new RTX 3K cards, then you probably wanna try the new alpha, otherwise I do recommend a version like v4.0.3 (don't forget downloading the checkpoint for that version) or v2.0.5.