Debian Installation does not work?

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.

Post Reply
User avatar
Ich345
Posts: 1
Joined: Wed Mar 13, 2024 9:45 am

Debian Installation does not work?

Post by Ich345 »

Hi,

I installed, but it just does not start. Got debian, am an absolute noob. THX!

Code: Select all

o@osca:~$ bash ./faceswap_setup_x64.sh
bash: ./faceswap_setup_x64.sh: No such file or directory
o@osca:~$ cd Downloads
o@osca:~/Downloads$ bash ./faceswap_setup_x64.sh
                         001
                        11 10  010
               @@@@      10
            @@@@@@@@         00     1
          @@@@@@@@@@  1  1            0
        @@@@@@@@    0000 01111
       @@@@@@@@@@    01  110 01  1
      @@@@@@@@@@@@ 111    010    0
      @@@@@@@@@@@@@@@@  10    0
      @@@@@@@@@@@@@   0010   1
      @@@@@@@@@  @@@   100         1
      @@@@@@@ .@@@@  10       1
       #@@@@@@@@@@@  001       0
         @@@@@@@@@@@  ,
         @@@@@@@@  @@@@@
        @@@@@@@@ @@@@@@@@
       @@@@@@@@@,@@@@@@@@  / _|
       %@@@@@@@@@@@@@@@@@ | |_  ___
           @@@@@@@@@@@@@@ |  _|/ __|
            @@@@@@@@@@@@  | |  \__ \
             @@@@@@@@@@(  |_|  |___/
                @@@@@@
                 @@@@

================ Welcome to the Linux Faceswap Installer ================
INFO    To get setup we need to gather some information about where you
INFO    would like Faceswap and Conda to be installed.
INFO    To accept the default values just hit the 'ENTER' key for each
INFO    option. You will have an opportunity to review your responses prior
INFO    to commencing the install.

INFO    IMPORTANT: Make sure that the user 'o' has full
INFO    permissions for all of the destinations that you select.
Press 'ENTER' to continue with the setup...

================================= CONDA =================================
INFO    Faceswap uses Conda as it handles the installation of all
INFO    prerequisites.
INFO    If you have an existing Conda install then enter the location here,
INFO    otherwise Miniconda3 will be installed in the given location.
Please specify a location for Conda. [default: '/home/o/miniconda3']:
INFO    The Conda executable can be added to your PATH. This makes it easier
INFO    to run Conda commands directly. If you already have a pre-existing
INFO    Conda install then you should probably not enable this, otherwise
INFO    this should be fine.
Add Conda executable to path? [YES/no]: YES

INFO    Faceswap will be installed inside a Conda Environment. If an
INFO    environment already exists with the name specified then it will
INFO    be deleted.
Please specify a name for the Faceswap Conda Environmnet [default: 'faceswap']:

================================ FACESWAP ================================
INFO    Faceswap will be installed in the given location. If a folder exists
INFO    at the location you specify, then it will be deleted.
Please specify a location for Faceswap [default: '/home/o/faceswap']:

INFO    Faceswap can be run on NVIDIA or AMD GPUs or on CPU. You should make
INFO    sure that you have the latest graphics card drivers installed from
INFO    the relevant vendor. Please select the version of Faceswap you wish
INFO    to install.
Select: 1: NVIDIA
2: AMD (ROCm)
3: CPU
[default: 1]: 1

======================= POST INSTALLATION ACTIONS =======================
INFO    Launching Faceswap requires activating your Conda Environment and
INFO    then running Faceswap. The installer can simplify this by creating
INFO    a desktop shortcut to launch straight into the Faceswap GUI
Create Desktop Shortcut? [YES/no]: YES

========================= Review install options =========================
INFO    Please review the selected installation options before proceeding:

        - MiniConda3 will be installed in '/home/o/miniconda3'
        - MiniConda3 will be added to your PATH
        - Conda Environment 'faceswap' will be created.
        - Faceswap will be installed in '/home/o/faceswap'
        - Installing for 'nvidia'
        - A Desktop shortcut will be created
Do you wish to continue? [yes/NO]: yes
INFO    Downloading Miniconda3...
######################################################################### 100.0%
INFO    Installing Miniconda3...
PREFIX=/home/o/miniconda3
Unpacking payload ...
                                                                               
Installing base environment...


Downloading and Extracting Packages:


Downloading and Extracting Packages:

Preparing transaction: done
Executing transaction: done
installation finished.
INFO    Adding Miniconda3 to PATH...
no change     /home/o/miniconda3/condabin/conda
no change     /home/o/miniconda3/bin/conda
no change     /home/o/miniconda3/bin/conda-env
no change     /home/o/miniconda3/bin/activate
no change     /home/o/miniconda3/bin/deactivate
no change     /home/o/miniconda3/etc/profile.d/conda.sh
no change     /home/o/miniconda3/etc/fish/conf.d/conda.fish
no change     /home/o/miniconda3/shell/condabin/Conda.psm1
no change     /home/o/miniconda3/shell/condabin/conda-hook.ps1
no change     /home/o/miniconda3/lib/python3.12/site-packages/xontrib/conda.xsh
no change     /home/o/miniconda3/etc/profile.d/conda.csh
modified      /home/o/.bashrc

==> For changes to take effect, close and re-open your current shell. <==

INFO    Creating Conda Virtual Environment...
Channels:
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/o/miniconda3/envs/faceswap

  added / updated specs:
    - python=3.10


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    bzip2-1.0.8                |       h5eee18b_5         262 KB
    pip-23.3.1                 |  py310h06a4308_0         2.7 MB
    python-3.10.13             |       h955ad1f_0        26.8 MB
    setuptools-68.2.2          |  py310h06a4308_0         957 KB
    tzdata-2024a               |       h04d1e81_0         116 KB
    wheel-0.41.2               |  py310h06a4308_0         109 KB
    xz-5.4.6                   |       h5eee18b_0         651 KB
    ------------------------------------------------------------
                                           Total:        31.5 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  _openmp_mutex      pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu
  bzip2              pkgs/main/linux-64::bzip2-1.0.8-h5eee18b_5
  ca-certificates    pkgs/main/linux-64::ca-certificates-2023.12.12-h06a4308_0
  ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1
  libffi             pkgs/main/linux-64::libffi-3.4.4-h6a678d5_0
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1
  libgomp            pkgs/main/linux-64::libgomp-11.2.0-h1234567_1
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1
  libuuid            pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0
  ncurses            pkgs/main/linux-64::ncurses-6.4-h6a678d5_0
  openssl            pkgs/main/linux-64::openssl-3.0.13-h7f8727e_0
  pip                pkgs/main/linux-64::pip-23.3.1-py310h06a4308_0
  python             pkgs/main/linux-64::python-3.10.13-h955ad1f_0
  readline           pkgs/main/linux-64::readline-8.2-h5eee18b_0
  setuptools         pkgs/main/linux-64::setuptools-68.2.2-py310h06a4308_0
  sqlite             pkgs/main/linux-64::sqlite-3.41.2-h5eee18b_0
  tk                 pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0
  tzdata             pkgs/main/noarch::tzdata-2024a-h04d1e81_0
  wheel              pkgs/main/linux-64::wheel-0.41.2-py310h06a4308_0
  xz                 pkgs/main/linux-64::xz-5.4.6-h5eee18b_0
  zlib               pkgs/main/linux-64::zlib-1.2.13-h5eee18b_0


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
INFO    Installing Git...
Channels:
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/o/miniconda3/envs/faceswap

  added / updated specs:
    - git


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    curl-8.5.0                 |       hdbd6064_0          86 KB
    gdbm-1.18                  |       hd4cb3f1_4         194 KB
    gettext-0.21.0             |       h39681ba_1         3.0 MB
    git-2.40.1                 | pl5340h36fbf9e_1         9.9 MB
    perl-5.34.0                |       h5eee18b_2        12.4 MB
    ------------------------------------------------------------
                                           Total:        25.6 MB

The following NEW packages will be INSTALLED:

  c-ares             pkgs/main/linux-64::c-ares-1.19.1-h5eee18b_0
  curl               pkgs/main/linux-64::curl-8.5.0-hdbd6064_0
  expat              pkgs/main/linux-64::expat-2.5.0-h6a678d5_0
  gdbm               pkgs/main/linux-64::gdbm-1.18-hd4cb3f1_4
  gettext            pkgs/main/linux-64::gettext-0.21.0-h39681ba_1
  git                pkgs/main/linux-64::git-2.40.1-pl5340h36fbf9e_1
  icu                pkgs/main/linux-64::icu-73.1-h6a678d5_0
  krb5               pkgs/main/linux-64::krb5-1.20.1-h143b758_1
  libcurl            pkgs/main/linux-64::libcurl-8.5.0-h251f7ec_0
  libedit            pkgs/main/linux-64::libedit-3.1.20230828-h5eee18b_0
  libev              pkgs/main/linux-64::libev-4.33-h7f8727e_1
  libnghttp2         pkgs/main/linux-64::libnghttp2-1.57.0-h2d74bed_0
  libssh2            pkgs/main/linux-64::libssh2-1.10.0-hdbd6064_2
  libxml2            pkgs/main/linux-64::libxml2-2.10.4-hf1b16e4_1
  pcre2              pkgs/main/linux-64::pcre2-10.42-hebb0a14_0
  perl               pkgs/main/linux-64::perl-5.34.0-h5eee18b_2


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
INFO    Downloading Faceswap...
Cloning into '/home/o/faceswap'...
remote: Enumerating objects: 1306, done.
remote: Counting objects: 100% (1306/1306), done.
remote: Compressing objects: 100% (1074/1074), done.
remote: Total 1306 (delta 588), reused 591 (delta 210), pack-reused 0
Receiving objects: 100% (1306/1306), 88.74 MiB | 5.16 MiB/s, done.
Resolving deltas: 100% (588/588), done.
INFO    Setting up Faceswap...
/home/o/faceswap/setup.py:18: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import parse_requirements
INFO     Running without root/admin privileges
INFO     The tool provides tips for installation and installs required python packages
INFO     Setup in Linux 6.1.0-17-amd64
INFO     Installed Python: 3.10.13 64bit
INFO     Running in Conda
INFO     Running in a Virtual Environment
INFO     Encoding: UTF-8
INFO     Installed pip: 23.3.1
INFO     Cuda search path set to '/home/o/miniconda3/envs/faceswap/lib'
INFO     Faceswap config written to: /home/o/faceswap/config/.faceswap
INFO     Adding conda required package '['cudatoolkit>=11.2,<11.3', 'cudnn>=8.1,<8.2']' for backend 'nvidia')
INFO     Installing Required Python Packages. This may take some time...
INFO     Installing pexpect>=4.8.0
INFO     Installing Required Conda Packages. This may take some time...
INFO     Installing tk=*=xft_*
   tk-8.6.13            | 3.1 MB    | ███████████████████████████████████ | 100%
   openssl-3.2.1        | 2.7 MB    | ███████████████████████████████████ | 100%
   libgcc-ng-13.2.0     | 752 KB    | ███████████████████████████████████ | 100%
   libgomp-13.2.0       | 410 KB    | ███████████████████████████████████ | 100%
   ca-certificates-2024 | 152 KB    | ███████████████████████████████████ | 100%
   zlib-1.2.13          | 91 KB     | ███████████████████████████████████ | 100%
   libzlib-1.2.13       | 60 KB     | ███████████████████████████████████ | 100%
   _openmp_mutex-4.5    | 23 KB     | ███████████████████████████████████ | 100%
   _libgcc_mutex-0.1    | 3 KB      | ███████████████████████████████████ | 100%
INFO     Installing xorg-libxft
   python-3.10.13       | 24.5 MB   | ███████████████████████████████████ | 100%
   font-ttf-ubuntu-0.83 | 1.5 MB    | ███████████████████████████████████ | 100%
   libsqlite-3.45.2     | 837 KB    | ███████████████████████████████████ | 100%
   xorg-libx11-1.8.7    | 809 KB    | ███████████████████████████████████ | 100%
   font-ttf-source-code | 684 KB    | ███████████████████████████████████ | 100%
   freetype-2.12.1      | 620 KB    | ███████████████████████████████████ | 100%
   font-ttf-dejavu-sans | 388 KB    | ███████████████████████████████████ | 100%
   libxcb-1.15          | 375 KB    | ███████████████████████████████████ | 100%
   libpng-1.6.43        | 281 KB    | ███████████████████████████████████ | 100%
   fontconfig-2.14.2    | 266 KB    | ███████████████████████████████████ | 100%
   libxcrypt-4.4.36     | 98 KB     | ███████████████████████████████████ | 100%
   font-ttf-inconsolata | 94 KB     | ███████████████████████████████████ | 100%
   xorg-xproto-7.0.31   | 73 KB     | ███████████████████████████████████ | 100%
   xorg-libxft-2.3.8    | 58 KB     | ███████████████████████████████████ | 100%
   xorg-libxrender-0.9. | 37 KB     | ███████████████████████████████████ | 100%
   libuuid-2.38.1       | 33 KB     | ███████████████████████████████████ | 100%
   libnsl-2.0.1         | 33 KB     | ███████████████████████████████████ | 100%
   xorg-xextproto-7.3.0 | 30 KB     | ███████████████████████████████████ | 100%
   xorg-kbproto-1.0.7   | 27 KB     | ███████████████████████████████████ | 100%
   xorg-libxdmcp-1.1.3  | 19 KB     | ███████████████████████████████████ | 100%
   xorg-libxau-1.0.11   | 14 KB     | ███████████████████████████████████ | 100%
   xorg-renderproto-0.1 | 9 KB      | ███████████████████████████████████ | 100%
   pthread-stubs-0.4    | 5 KB      | ███████████████████████████████████ | 100%
INFO     Installing cudatoolkit>=11.2,<11.3 cudnn>=8.1,<8.2
   cudnn-8.1.0.77       | 634.8 MB  | ███████████████████████████████████ | 100%
   cudnn-8.1.0.77       | 634.8 MB  | ███████████████████████████████████ | 100%
   cudatoolkit-11.2.2   | 630.6 MB  | ███████████████████████████████████ | 100%
INFO     Installing tqdm>=4.65
   tqdm-4.65.0          | 132 KB    | ███████████████████████████████████ | 100%
INFO     Installing psutil>=5.9.0
   psutil-5.9.0         | 368 KB    | ███████████████████████████████████ | 100%
INFO     Installing numexpr>=2.8.7
   numpy-base-1.26.4    | 7.2 MB    | ███████████████████████████████████ | 100%
   libopenblas-0.3.21   | 5.4 MB    | ███████████████████████████████████ | 100%
   libgfortran5-11.2.0  | 2.0 MB    | ███████████████████████████████████ | 100%
   numexpr-2.8.7        | 141 KB    | ███████████████████████████████████ | 100%
   blas-1.0             | 46 KB     | ███████████████████████████████████ | 100%
   libgfortran-ng-11.2. | 20 KB     | ███████████████████████████████████ | 100%
   numpy-1.26.4         | 10 KB     | ███████████████████████████████████ | 100%
INFO     Installing numpy>=1.26.0
INFO     Installing opencv-python>=4.9.0.0
INFO     opencv-python>=4.9.0.0 not available in Conda. Installing with pip
INFO     Installing opencv-python>=4.9.0.0
   opencv_python-4.9.0.8| 62.2 MB   | ███████████████████████████████████ | 100%
INFO     Installing pillow<10.0.0,>=9.4.0
   pillow-9.4.0         | 729 KB    | ███████████████████████████████████ | 100%
   libtiff-4.5.1        | 533 KB    | ███████████████████████████████████ | 100%
   libwebp-base-1.3.2   | 387 KB    | ███████████████████████████████████ | 100%
   lcms2-2.12           | 312 KB    | ███████████████████████████████████ | 100%
   jpeg-9e              | 262 KB    | ███████████████████████████████████ | 100%
   lerc-3.0             | 196 KB    | ███████████████████████████████████ | 100%
   libwebp-1.3.2        | 87 KB     | ███████████████████████████████████ | 100%
   giflib-5.2.1         | 80 KB     | ███████████████████████████████████ | 100%
   libdeflate-1.17      | 64 KB     | ███████████████████████████████████ | 100%
INFO     Installing scikit-learn>=1.3.0
   scipy-1.11.4         | 20.5 MB   | ███████████████████████████████████ | 100%
   scikit-learn-1.3.0   | 8.4 MB    | ███████████████████████████████████ | 100%
   joblib-1.2.0         | 400 KB    | ███████████████████████████████████ | 100%
   threadpoolctl-2.2.0  | 16 KB     | ███████████████████████████████████ | 100%
INFO     Installing fastcluster>=1.2.6
   fastcluster-1.2.6    | 47 KB     | ███████████████████████████████████ | 100%
   python_abi-3.10      | 6 KB      | ███████████████████████████████████ | 100%
INFO     Installing matplotlib>=3.8.0
   mysql-5.7.24         | 60.0 MB   | ███████████████████████████████████ | 100%
   qt-main-5.15.2       | 53.7 MB   | ███████████████████████████████████ | 100%
   libllvm14-14.0.6     | 33.4 MB   | ███████████████████████████████████ | 100%
   libclang13-14.0.6    | 9.8 MB    | ███████████████████████████████████ | 100%
   matplotlib-base-3.8. | 6.8 MB    | ███████████████████████████████████ | 100%
   pyqt-5.15.10         | 5.7 MB    | ███████████████████████████████████ | 100%
   libcups-2.4.2        | 4.5 MB    | ███████████████████████████████████ | 100%
   libpq-12.17          | 2.4 MB    | ███████████████████████████████████ | 100%
   gst-plugins-base-1.1 | 2.2 MB    | ███████████████████████████████████ | 100%
   gstreamer-1.14.1     | 1.7 MB    | ███████████████████████████████████ | 100%
   libglib-2.78.4       | 1.5 MB    | ███████████████████████████████████ | 100%
   libiconv-1.16        | 736 KB    | ███████████████████████████████████ | 100%
   tornado-6.3.3        | 644 KB    | ███████████████████████████████████ | 100%
   fonttools-4.25.0     | 632 KB    | ███████████████████████████████████ | 100%
   libxkbcommon-1.0.1   | 590 KB    | ███████████████████████████████████ | 100%
   sip-6.7.12           | 509 KB    | ███████████████████████████████████ | 100%
   glib-2.78.4          | 508 KB    | ███████████████████████████████████ | 100%
   dbus-1.13.18         | 504 KB    | ███████████████████████████████████ | 100%
   libbrotlienc-1.0.9   | 264 KB    | ███████████████████████████████████ | 100%
   contourpy-1.2.0      | 246 KB    | ███████████████████████████████████ | 100%
   cyrus-sasl-2.1.28    | 237 KB    | ███████████████████████████████████ | 100%
   python-dateutil-2.8. | 233 KB    | ███████████████████████████████████ | 100%
   pyparsing-3.0.9      | 153 KB    | ███████████████████████████████████ | 100%
INFO     Installing imageio>=2.33.1
   imageio-2.33.1       | 472 KB    | ███████████████████████████████████ | 100%
INFO     Installing imageio-ffmpeg>=0.4.9
   imageio_ffmpeg-0.4.9 | 26.9 MB   | ███████████████████████████████████ | 100%
INFO     Installing ffmpy>=0.3.0
   ffmpeg-5.1.2         | 9.2 MB    | ███████████████████████████████████ | 100%
   p11-kit-0.24.1       | 4.5 MB    | ███████████████████████████████████ | 100%
   x265-3.5             | 3.2 MB    | ███████████████████████████████████ | 100%
   aom-3.5.0            | 2.7 MB    | ███████████████████████████████████ | 100%
   svt-av1-1.4.1        | 2.4 MB    | ███████████████████████████████████ | 100%
   gnutls-3.7.9         | 1.9 MB    | ███████████████████████████████████ | 100%
   libunistring-0.9.10  | 1.4 MB    | ███████████████████████████████████ | 100%
   libvpx-1.11.0        | 1.1 MB    | ███████████████████████████████████ | 100%
   nettle-3.9.1         | 988 KB    | ███████████████████████████████████ | 100%
   x264-1!164.3095      | 877 KB    | ███████████████████████████████████ | 100%
   openh264-2.3.1       | 702 KB    | ███████████████████████████████████ | 100%
   gmp-6.3.0            | 556 KB    | ███████████████████████████████████ | 100%
   lame-3.100           | 496 KB    | ███████████████████████████████████ | 100%
   libdrm-2.4.120       | 296 KB    | ███████████████████████████████████ | 100%
   libopus-1.3.1        | 255 KB    | ███████████████████████████████████ | 100%
   libva-2.21.0         | 185 KB    | ███████████████████████████████████ | 100%
   libidn2-2.3.3        | 155 KB    | ███████████████████████████████████ | 100%
   libtasn1-4.19.0      | 114 KB    | ███████████████████████████████████ | 100%
   xorg-libxext-1.3.4   | 49 KB     | ███████████████████████████████████ | 100%
   libpciaccess-0.18    | 28 KB     | ███████████████████████████████████ | 100%
   xorg-libxfixes-5.0.3 | 18 KB     | ███████████████████████████████████ | 100%
   ffmpy-0.3.0          | 10 KB     | ███████████████████████████████████ | 100%
   xorg-fixesproto-5.0  | 9 KB      | ███████████████████████████████████ | 100%
INFO     Installing nvidia-ml-py>=12.535,<300
   nvidia-ml-py-12.535. | 37 KB     | ███████████████████████████████████ | 100%
INFO     Installing tensorflow>=2.10.0,<2.11.0
   tensorflow-2.10.1    | 133.7 kB  | ███████████████████████████████████ | 100%
   google_pasta-0.2.0   | 5.1 MB    | ███████████████████████████████████ | 100%
   wrapt-1.16.0         | 186.9 kB  | ███████████████████████████████████ | 100%
   Markdown-3.5.2       | 226.7 kB  | ███████████████████████████████████ | 100%
   certifi-2024.2.2     | 61.6 kB   | ███████████████████████████████████ | 100%
   pyasn1_modules-0.3.0 | 181.3 kB  | ███████████████████████████████████ | 100%
   urllib3-2.2.1        | 84.9 kB   | ███████████████████████████████████ | 100%
INFO     All python3 dependencies are met.
         You are good to go.
         
         Enter:  'python faceswap.py -h' to see the options
                 'python faceswap.py gui' to launch the GUI
INFO    Faceswap installation is complete!
INFO    You can launch Faceswap from the icon on your desktop
o@osca:~/Downloads$
o@osc

aber nix klappt wenn ich das script starte:

[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
Name=FaceSwap
Exec=bash /home/o/faceswap/faceswap_gui_launcher.sh
Comment=FaceSwap
Icon=/home/o/faceswap/.install/linux/fs_logo.ico
Last edited by torzdf on Wed Mar 13, 2024 11:29 pm, edited 1 time in total.
User avatar
torzdf
Posts: 2687
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 135 times
Been thanked: 628 times

Re: Debian Installation does not work?

Post by torzdf »

What do you mean nothing works?

Try:

Code: Select all

conda activate faceswap
cd faceswap
python faceswap.py gui

Post any error output

Last edited by torzdf on Wed Mar 13, 2024 11:31 pm, edited 1 time in total.

My word is final

Post Reply