Page 1 of 1

Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Fri Dec 31, 2021 10:52 pm
by Vasto97

Hello guys,

I got this errors during installation faceswap (will mark them between this ""):

Code: Select all

(check) AnaConda installed: conda 4.11.0
(check) CPU Supports AVX Instructions
(check) CPU Supports SSE4 Instructions
(check) Completed check for installed applications
(check) Setting up for: nvidia

Miniconda3 installed.
Initializing Conda...
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
# All requested packages already installed.
Creating Conda Virtual Environment...
Remove all packages in environment C:\ProgramData\Anaconda3\envs\faceswap:
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
  environment location: C:\ProgramData\Anaconda3\envs\faceswap
  added / updated specs:
    - python=3.8
The following NEW packages will be INSTALLED:
  ca-certificates    pkgs/main/win-64::ca-certificates-2021.10.26-haa95532_2
  certifi            pkgs/main/win-64::certifi-2021.10.8-py38haa95532_0
  openssl            pkgs/main/win-64::openssl-1.1.1l-h2bbff1b_0
  pip                pkgs/main/win-64::pip-21.2.2-py38haa95532_0
  python             pkgs/main/win-64::python-3.8.12-h6244533_0
  setuptools         pkgs/main/win-64::setuptools-58.0.4-py38haa95532_0
  sqlite             pkgs/main/win-64::sqlite-3.37.0-h2bbff1b_0
  vc                 pkgs/main/win-64::vc-14.2-h21ff451_1
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
  wheel              pkgs/main/noarch::wheel-0.37.0-pyhd3eb1b0_1
  wincertstore       pkgs/main/win-64::wincertstore-0.2-py38haa95532_2
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
#
# To activate this environment, use
#
#     $ conda activate faceswap
#
# To deactivate an active environment, use
#
#     $ conda deactivate
Installing Git...
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
  environment location: C:\ProgramData\Anaconda3\envs\faceswap
  added / updated specs:
    - git
The following NEW packages will be INSTALLED:
  git                pkgs/main/win-64::git-2.32.0-haa95532_1
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... DEBUG menuinst_win32:__init__(201): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:\ProgramData\Anaconda3\envs\faceswap', env_name: 'faceswap', mode: 'system', used_mode: 'system', root_prefix: 'C:\ProgramData\Anaconda3'
DEBUG menuinst_win32:create(328): Shortcut cmd is C:\ProgramData\Anaconda3\python.exe, args are ['C:\\ProgramData\\Anaconda3\\cwp.py', 'C:\\ProgramData\\Anaconda3\\envs\\faceswap', 'C:\\ProgramData\\Anaconda3\\envs\\faceswap\\Library\\bin\\bash.exe', '--login', '-i', '--']
done
Downloading Faceswap...
Cloning into 'C:\Users\Carsten Wannhoff\faceswap'...
Setting up FaceSwap Environment... This may take a while
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
ERROR: Could not find a version that satisfies the requirement opencv-python>=4.5.3.0 (from versions: none)
ERROR: No matching distribution found for opencv-python>=4.5.3.0
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
ERROR: Could not find a version that satisfies the requirement ffmpy==0.2.3 (from versions: none)
ERROR: No matching distribution found for ffmpy==0.2.3
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
ERROR: Could not find a version that satisfies the requirement nvidia-ml-py<300,>=11.450 (from versions: none)
ERROR: No matching distribution found for nvidia-ml-py<300,>=11.450
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
  environment location: C:\ProgramData\Anaconda3\envs\faceswap
  added / updated specs:
    - cudatoolkit=11.2
    - cudnn=8.1
The following NEW packages will be INSTALLED:
  cudatoolkit        conda-forge/win-64::cudatoolkit-11.2.2-h933977f_9
  cudnn              conda-forge/win-64::cudnn-8.1.0.77-h3e0f4f4_0
The following packages will be UPDATED:
  certifi            pkgs/main::certifi-2021.10.8-py38haa9~ --> conda-forge::certifi-2021.10.8-py38haa244fe_1
The following packages will be SUPERSEDED by a higher-priority channel:
  ca-certificates    pkgs/main::ca-certificates-2021.10.26~ --> conda-forge::ca-certificates-2021.10.8-h5b45459_0
  openssl              pkgs/main::openssl-1.1.1l-h2bbff1b_0 --> conda-forge::openssl-1.1.1l-h8ffe710_0
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... "By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html" 
"By downloading and using the cuDNN conda packages, you accept the terms and conditions of the NVIDIA cuDNN EULA - https://docs.nvidia.com/deeplearning/cudnn/sla/index.html" 
done
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
Could not fetch URL https://pypi.org/simple/tensorflow-gpu/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/tensorflow-gpu/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu<2.7.0,>=2.5.0 (from versions: none)
ERROR: No matching distribution found for tensorflow-gpu<2.7.0,>=2.5.0
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
INFO    Running as Root/Admin
INFO    The tool provides tips for installation
        and installs required python packages
INFO    Setup in Windows 10
INFO    Installed Python: 3.8.12 64bit
INFO    Running in Conda
INFO    Running in a Virtual Environment
INFO    Encoding: cp1252
INFO    Installed pip: 21.2.2
INFO    Faceswap config written to: C:\Users\Carsten Wannhoff\faceswap\config\.faceswap
INFO    Installing Required Conda Packages. This may take some time...
INFO    Installing tk
INFO    Installing Required Python Packages. This may take some time...
INFO    Installing tqdm>=4.62
INFO    Installing psutil>=5.8.0
INFO    Installing numpy>=1.18.0,<1.20.0
INFO    Installing opencv-python>=4.5.3.0
INFO    "opencv-python>=4.5.3.0" not available in Conda. Installing with pip
INFO    Installing opencv-python>=4.5.3.0
WARNING Couldn't install opencv-python>=4.5.3.0 with pip. Please install this package manually
INFO    Installing pillow>=8.3.1
INFO    Installing scikit-learn>=0.24.2
INFO    Installing fastcluster>=1.1.26
INFO    Installing matplotlib<3.3.0,>=3.2.0
INFO    Installing imageio>=2.9.0
INFO    Installing imageio-ffmpeg>=0.4.5
INFO    Installing ffmpy==0.2.3
INFO    ffmpy==0.2.3 not available in Conda. Installing with pip
INFO    Installing ffmpy==0.2.3
WARNING Couldn't install ffmpy==0.2.3 with pip. Please install this package manually
INFO    Installing nvidia-ml-py>=11.450,<300
INFO    "nvidia-ml-py>=11.450,<300" not available in Conda. Installing with pip
INFO    Installing nvidia-ml-py>=11.450,<300
WARNING Couldn't install nvidia-ml-py>=11.450,<300 with pip. Please install this package manually
INFO    Installing pywin32>=228
INFO    Installing Cuda Toolkit
INFO    Installing tensorflow-gpu>=2.5.0,<2.7.0
WARNING Couldn't install tensorflow-gpu>=2.5.0,<2.7.0 with pip. Please install this package manually
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 Creating GUI Launcher Output folder: C:\Users\Carsten Wannhoff\faceswap Creating Desktop Shortcut Create shortcut: C:\Users\Carsten Wannhoff\Desktop\FaceSwap.lnk ExecShell: open https://www.faceswap.dev Visit https://www.faceswap.dev for help and support. Completed

I can see faceswap, but cant't launch it with the desktop icon, nothing happens.

Can anyone help me please??

Thank you very much first for your help :)


Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Mon Jan 03, 2022 4:21 pm
by bryanlyon

This is answered in our FAQ.

app.php/faqpage#f1r1


Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Mon Jan 03, 2022 9:56 pm
by Vasto97

Hello bryanlyon,

I made everything described under app.php/faqpage#f1r1 but after that, I got this problems during installation:

"(check) CPU Supports AVX Instructions
(check) CPU Supports SSE4 Instructions
(check) Completed check for installed applications
(check) Setting up for: nvidia

Downloading Miniconda3...
Installing Miniconda3. This will take a few minutes...
Miniconda3 installed.
Initializing Conda...
Creating Conda Virtual Environment...
Error Creating Conda Virtual Environment
Install Aborted"

I got this everytime I use the task of app.php/faqpage#f1r1

Even if I try to manually install Anaconda and give faceswap installer the right path of the location, I got this error:

"(check) MiniConda installed: failed to create process.
(check) CPU Supports AVX Instructions
(check) CPU Supports SSE4 Instructions
(check) Completed check for installed applications
(check) Setting up for: nvidia

Miniconda3 installed.
Initializing Conda...
failed to create process.
Der Befehl "conda" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Creating Conda Virtual Environment...
failed to create process.
Der Befehl "conda" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Error Creating Conda Virtual Environment
Install Aborted"

Sadly its written in german, but it only tells me, that the command "conda" ist false or could not be found.

I didn't had problems with the old version of faceswap, which one was released in the year 2019.

I am despairing only due to the installation process, can anyone help me please whats the problem?

If anyone has the old installer of 2019, can you send me please the link to the download?
maybe this will work.

Thank you very much for your help.

kind regards


Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Mon Jan 03, 2022 10:41 pm
by bryanlyon

The installer just downloads and installs from the github. If it's failing on conda then you might want to manually install miniconda and provide the path to the faceswap installer.


Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Tue Jan 04, 2022 6:00 pm
by Vasto97

Hello byranlyon

I downloaded manually miniconda and provided the path to it.

But now I got this error:

Code: Select all

"(check) CPU Supports AVX Instructions
(check) CPU Supports SSE4 Instructions
(check) Completed check for installed applications
(check) Setting up for: nvidia
(check) Custom Conda found: conda 4.10.3


Miniconda3 installed.
Initializing Conda...
Collecting package metadata (current_repodata.json): ...working... failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
'https://repo.anaconda.com/pkgs/main/win-64'
Creating Conda Virtual Environment...
Collecting package metadata (current_repodata.json): ...working... failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
'https://repo.anaconda.com/pkgs/main/win-64'
Error Creating Conda Virtual Environment
Install Aborted"

I made sure that I have a stable internet connection, I already have a stable connection to the internet.

Do you know how I can solve this error?


Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Tue Jan 04, 2022 8:10 pm
by bryanlyon

That is entirely a network issue. If your network is stable and you can access the anaconda.com you should be able to download without problem.

If you keep getting problems there, that's an anaconda issue and it's not anything we can fix here.


Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Tue Jan 04, 2022 9:59 pm
by Vasto97

Hello :)

Somehow I could install faceswap, but during the installation process I got these messages:

code CPU Supports AVX Instructions
(check) CPU Supports SSE4 Instructions
(check) Completed check for installed applications
(check) Setting up for: nvidia
(check) Custom Conda found: conda 4.8.3

Miniconda3 installed.
Initializing Conda...
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
==> WARNING: A newer version of conda exists. <==
current version: 4.8.3
latest version: 4.11.0
Please update conda by running
$ conda update -n base -c defaults conda

All requested packages already installed.

Creating Conda Virtual Environment...
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
==> WARNING: A newer version of conda exists. <==
current version: 4.8.3
latest version: 4.11.0
Please update conda by running
$ conda update -n base -c defaults conda

Package Plan

environment location: C:\Users\Faceswap\Anaconda2\envs\faceswap
added / updated specs:
- python=3.8
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/win-64::ca-certificates-2021.10.26-haa95532_2
certifi pkgs/main/win-64::certifi-2021.10.8-py38haa95532_0
openssl pkgs/main/win-64::openssl-1.1.1l-h2bbff1b_0
pip pkgs/main/win-64::pip-21.2.2-py38haa95532_0
python pkgs/main/win-64::python-3.8.12-h6244533_0
setuptools pkgs/main/win-64::setuptools-58.0.4-py38haa95532_0
sqlite pkgs/main/win-64::sqlite-3.37.0-h2bbff1b_0
vc pkgs/main/win-64::vc-14.2-h21ff451_1
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
wheel pkgs/main/noarch::wheel-0.37.0-pyhd3eb1b0_1
wincertstore pkgs/main/win-64::wincertstore-0.2-py38haa95532_2
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
#

To activate this environment, use

#

$ conda activate faceswap

#

To deactivate an active environment, use

#

$ conda deactivate

Installing Git...
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done

Package Plan

environment location: C:\Users\Faceswap\Anaconda2\envs\faceswap
added / updated specs:
- git
The following packages will be downloaded:

packagebuild
git-2.32.0haa95532_1 50.9 MB

Total: 50.9 MB
The following NEW packages will be INSTALLED:
git pkgs/main/win-64::git-2.32.0-haa95532_1
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... DEBUG menuinst_win32:init(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:\Users\Faceswap\Anaconda2\envs\faceswap', env_name: 'faceswap', mode: 'user', used_mode: 'user'
DEBUG menuinst_win32:create(323): Shortcut cmd is C:\Users\Faceswap\Anaconda2\python.exe, args are [u'C:\\Users\\Faceswap\\Anaconda2\\cwp.py', u'C:\\Users\\Faceswap\\Anaconda2\\envs\\faceswap', u'C:\\Users\\Faceswap\\Anaconda2\\envs\\faceswap\\Library\\bin\\bash.exe', u'--login', u'-i', u'--']
done
Downloading Faceswap...
Cloning into 'C:\Users\Faceswap\Desktop\facswap\faceswap'...
Setting up FaceSwap Environment... This may take a while
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
ERROR: Could not find a version that satisfies the requirement opencv-python>=4.5.3.0 (from versions: none)
ERROR: No matching distribution found for opencv-python>=4.5.3.0
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/ffmpy/
ERROR: Could not find a version that satisfies the requirement ffmpy==0.2.3 (from versions: none)
ERROR: No matching distribution found for ffmpy==0.2.3
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/nvidia-ml-py/
ERROR: Could not find a version that satisfies the requirement nvidia-ml-py<300,>=11.450 (from versions: none)
ERROR: No matching distribution found for nvidia-ml-py<300,>=11.450
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
==> WARNING: A newer version of conda exists. <==
current version: 4.8.3
latest version: 4.11.0
Please update conda by running
$ conda update -n base -c defaults conda

Package Plan

environment location: C:\Users\Faceswap\Anaconda2\envs\faceswap
added / updated specs:
- cudatoolkit=11.2
- cudnn=8.1
The following NEW packages will be INSTALLED:
cudatoolkit conda-forge/win-64::cudatoolkit-11.2.2-h933977f_9
cudnn conda-forge/win-64::cudnn-8.1.0.77-h3e0f4f4_0
The following packages will be UPDATED:
certifi pkgs/main::certifi-2021.10.8-py38haa9~ --> conda-forge::certifi-2021.10.8-py38haa244fe_1
The following packages will be SUPERSEDED by a higher-priority channel:
ca-certificates pkgs/main::ca-certificates-2021.10.26~ --> conda-forge::ca-certificates-2021.10.8-h5b45459_0
openssl pkgs/main::openssl-1.1.1l-h2bbff1b_0 --> conda-forge::openssl-1.1.1l-h8ffe710_0
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... "By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html"
"By downloading and using the cuDNN conda packages, you accept the terms and conditions of the NVIDIA cuDNN EULA - https://docs.nvidia.com/deeplearning/cu ... index.html"
done
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow-gpu/
Could not fetch URL https://pypi.org/simple/tensorflow-gpu/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/tensorflow-gpu/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu<2.7.0,>=2.5.0 (from versions: none)
ERROR: No matching distribution found for tensorflow-gpu<2.7.0,>=2.5.0
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
INFO Running as Root/Admin
INFO The tool provides tips for installation
and installs required python packages
INFO Setup in Windows 10
INFO Installed Python: 3.8.12 64bit
INFO Running in Conda
INFO Running in a Virtual Environment
INFO Encoding: cp1252
INFO Installed pip: 21.2.2
INFO Faceswap config written to: C:\Users\Faceswap\Desktop\facswap\faceswap\config\.faceswap
INFO Installing Required Conda Packages. This may take some time...
INFO Installing tk
INFO Installing Required Python Packages. This may take some time...
INFO Installing tqdm>=4.62
INFO Installing psutil>=5.8.0
INFO Installing numpy<1.20.0,>=1.18.0
INFO Installing opencv-python>=4.5.3.0
INFO "opencv-python>=4.5.3.0" not available in Conda. Installing with pip
INFO Installing opencv-python>=4.5.3.0
WARNING Couldn't install opencv-python>=4.5.3.0 with pip. Please install this package manually
INFO Installing pillow>=8.3.1
INFO Installing scikit-learn>=0.24.2
INFO Installing fastcluster>=1.1.26
INFO Installing matplotlib>=3.2.0,<3.3.0
INFO Installing imageio>=2.9.0
INFO Installing imageio-ffmpeg>=0.4.5
INFO Installing ffmpy==0.2.3
INFO ffmpy==0.2.3 not available in Conda. Installing with pip
INFO Installing ffmpy==0.2.3
WARNING Couldn't install ffmpy==0.2.3 with pip. Please install this package manually
INFO Installing nvidia-ml-py>=11.450,<300
INFO "nvidia-ml-py>=11.450,<300" not available in Conda. Installing with pip
INFO Installing nvidia-ml-py>=11.450,<300
WARNING Couldn't install nvidia-ml-py>=11.450,<300 with pip. Please install this package manually
INFO Installing pywin32>=228
INFO Installing Cuda Toolkit
INFO Installing tensorflow-gpu>=2.5.0,<2.7.0
WARNING Couldn't install tensorflow-gpu>=2.5.0,<2.7.0 with pip. Please install this package manually
INFO All python3 dependencies are met.
You are good to go.


Code: Select all

    Enter:  'python faceswap.py -h' to see the options
            'python faceswap.py gui' to launch the GUI

Creating GUI Launcher
Output folder: C:\Users\Faceswap\Desktop\facswap\faceswap
Creating Desktop Shortcut
Create shortcut: C:\Users\Carsten Wannhoff\Desktop\FaceSwap.lnk
ExecShell: open https://www.faceswap.dev
Visit https://www.faceswap.dev for help and support.
Completed[/code]

It seems like it installed, but conda have some issues.

Do you know its currently an anaconda problem?

Kind regards


Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Wed Jan 05, 2022 3:40 pm
by bryanlyon

It looks like it was successful. See if everything runs correctly.


Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Wed Jan 05, 2022 5:42 pm
by Vasto97

Hi bryan

I double-clicked on the icon on my desktop, then the command program (cmd.exe) shows up, but the gui does not launch.

Do you maybe got the first installation of faceswap (maybe the beta version of 2019) for download?

I used it a long time ago and it worked for me really good without any issues.

kind regards


Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Wed Jan 05, 2022 5:44 pm
by bryanlyon

Re: Strange Installing Errorcode during installation faceswap on Win 10?

Posted: Wed Jan 19, 2022 3:40 am
by torzdf

You have a problem with you SSL somehow. You will need to resolve this.

Ultimately FS cannot download the files it needs. As Bryan says this is a Conda (and pip) issue, but more specifically the issue is originating from your end.

Code: Select all

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

You would need to troubleshoot those issues first. however this:
app.php/faqpage#f1r1

should resolve your problems without having to dig around why you have SSL issues (unless your issues are system wide).