Successful Installation, not running

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
mhunt
Posts: 11
Joined: Mon Jun 28, 2021 5:09 pm
Been thanked: 1 time

Successful Installation, not running

Post by mhunt »

I installed faceswap for Linux.

The installer doesn't report any error, software doesn't runs, including conda.

So before I start any tweak I like to ask which part to check first.

I use Open Suse Leap 15

Graphics card is NVidia GTX 980, official drivers, last version.

Yes, I selected nvidia as the graphcis card.

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: Successful Installation, not running

Post by torzdf »

What do you mean it doesn't run? Do you get any error message output when you try to launch Faceswap?

My word is final

User avatar
mhunt
Posts: 11
Joined: Mon Jun 28, 2021 5:09 pm
Been thanked: 1 time

Re: Successful Installation, not running

Post by mhunt »

it doesn't finds the commands, even if I try to run it from the directory where it's installed.

mhunt@linux-kby2:~> python faceswap -h
python: can't open file 'faceswap': [Errno 2] No such file or directory

mhunt@linux-kby2:~> conda info --envs
If 'conda' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf conda

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: Successful Installation, not running

Post by torzdf »

DId you close and re-open the terminal after installing Faceswap? If not, you need to....

Then it would be:

Code: Select all

conda activate faceswap
cd faceswap
python faceswap.py -h

If the conda command is still not found, you may have to install miniconda3 yourself manually.

My word is final

User avatar
mhunt
Posts: 11
Joined: Mon Jun 28, 2021 5:09 pm
Been thanked: 1 time

Re: Successful Installation, not running

Post by mhunt »

Guess I'll try installing miniconda manually and see it runs.

User avatar
mhunt
Posts: 11
Joined: Mon Jun 28, 2021 5:09 pm
Been thanked: 1 time

Re: Successful Installation, not running

Post by mhunt »

Conda installed and runs, looks liek the rest of the installation script also failed:

(base) mhunt@linux-kby2:/data2/APPLICATIONS> conda activate faceswap
Could not find conda environment: faceswap
You can list all discoverable environments with conda info --envs.

(base) mhunt@linux-kby2:/data2/APPLICATIONS> conda info --envs

conda environments:

#
base * /data2/APPLICATIONS/miniconda3

(base) mhunt@linux-kby2:/data2/APPLICATIONS>

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: Successful Installation, not running

Post by torzdf »

re-run the installer. Point the installer to your existing install of miniconda when asked.

If it still fails, then just manually install faceswap.

My word is final

User avatar
mhunt
Posts: 11
Joined: Mon Jun 28, 2021 5:09 pm
Been thanked: 1 time

Re: Successful Installation, not running

Post by mhunt »

yes, will try it later today :)

User avatar
mhunt
Posts: 11
Joined: Mon Jun 28, 2021 5:09 pm
Been thanked: 1 time

Re: Successful Installation, not running

Post by mhunt »

It's running ! thank you ! will start testing it. :D

Locked