Error Creating Conda virtual environment.

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
binarybits
Posts: 1
Joined: Tue Dec 03, 2019 6:26 pm

Error Creating Conda Virtual Environment

Post by binarybits »

Hi,

I'm trying to install FaceSwap on Windows and I get the following errors:

CondaEnvironmentNotFoundError: Could not find environment: base .
Creating Conda virtual environment...

[Stuff about creating the environment]

CommandNotFoundError: 'deactivate'
Error creating Conda virtual environment.
Install aborted.

Can anyone suggest what might be wrong here? I'm on Windows 10. I tried installing AnaConda but it said the package was already installed.

Thanks.

-Tim

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

Re: Install error with Conda

Post by torzdf »

I'll look into this to make sure the command hasn't been deprecated

My word is final

User avatar
fabiomarques297
Posts: 1
Joined: Sun Jun 14, 2020 5:14 pm

Error Creating Conda Virtual Environment

Post by fabiomarques297 »

Im geting this error when i'm trying to instal the faceswap

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

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

can anybody help me please

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

Re: Error Creating Conda Virtual Environment

Post by torzdf »

Do you have an internet connection?

Most likely, the installer failed to download MiniConda.

My word is final

User avatar
Dwellerz
Posts: 9
Joined: Tue Aug 04, 2020 11:34 pm

Re: Error Creating Conda Virtual Environment

Post by Dwellerz »

how do you fix this?

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

Re: Error Creating Conda Virtual Environment

Post by torzdf »

You can try running the Faceswap installer again, or you can install miniconda yourself, manually, and then run the Faceswap installer again

My word is final

User avatar
Dwellerz
Posts: 9
Joined: Tue Aug 04, 2020 11:34 pm

Re: Error Creating Conda Virtual Environment

Post by Dwellerz »

it diddnt work :(

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

Re: Error Creating Conda Virtual Environment

Post by torzdf »

fabiomarques297 wrote: Sun Jun 14, 2020 5:19 pm

Im geting this error when i'm trying to instal the faceswap

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

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

can anybody help me please

Follow these instructions, and let us know if you still have an issue:
app.php/faqpage#f1r1

My word is final

User avatar
Grassone
Posts: 45
Joined: Sun Apr 19, 2020 7:32 pm
Has thanked: 6 times
Been thanked: 2 times

Error Creating Conda virtual environment.

Post by Grassone »

Hello:
New PC:

Ryzen 2700x
Ventus GeForce RTX 2700
16G ram
3T hdd

Tried to do ALL the steps listed in app.php/faqpage#f1r1
But no luck:

i am stuck with this error.

NOTE 1
Miniconda seems to be installed fine (it can be successufully uninstalled by WIN 10 app manager)

NOTE 2
I found these exe files:
python.exe
python3.exe
python3.7.exe

in the C:\Users\Fulvio AMD\AppData\Local\Microsoft\WindowsApps directory.

Should I remove them ? Do they hurt ?

PLZ. Help.

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

Re: Error Creating Conda virtual environment.

Post by torzdf »

Try manually installing MiniConda into a location which does not have spaces in the path, then specifying the manual location when installing Faceswap

My word is final

User avatar
Grassone
Posts: 45
Joined: Sun Apr 19, 2020 7:32 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Error Creating Conda virtual environment.

Post by Grassone »

Interesting... now i have 2 miniconda3 directories...
one in C:\fs\miniconda3
the second in C:\Users\fulvio AMD\miniconda3

Faceswap installer detected the existing miniconda3 installation, but apparently cloned it into the users\fulvio AMD\miniconda3 directory....

I'll let you know how it ends...

User avatar
Vanch1k
Posts: 2
Joined: Tue Mar 30, 2021 11:49 am

Error Creating Conda Virtual Environment

Post by Vanch1k »

Have problem "Error Creating Conda Virtual Environment" during installing. Help please..

Image

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

Re: Error Creating Conda virtual environment.

Post by torzdf »

Try the solutions proposed in this thread first and report back if you still have issues.

My word is final

User avatar
sccsd
Posts: 1
Joined: Thu Apr 15, 2021 4:01 am

An error while installing the Faceswap

Post by sccsd »

Hello,I m a new handed in this kind of software,so while i am installing the software,an error occured that make me confused,i list all below:

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

and though i tried to install Miniconda3 manually,after the installation,i tried again ,but it still didn't work,shoud i creat the environment myself???But i really don't know how to deal with it...Thank you!

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

Re: Error Creating Conda virtual environment.

Post by torzdf »

My word is final

User avatar
ShrekLuzz
Posts: 1
Joined: Sat May 01, 2021 3:27 pm

Re: An error while installing the Faceswap

Post by ShrekLuzz »

sccsd wrote: Thu Apr 15, 2021 4:10 am

Hello,I m a new handed in this kind of software,so while i am installing the software,an error occured that make me confused,i list all below:

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

and though i tried to install Miniconda3 manually,after the installation,i tried again ,but it still didn't work,shoud i creat the environment myself???But i really don't know how to deal with it...Thank you!

I got the same issue , hava you fixed it yet ?

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

Re: Error Creating Conda virtual environment.

Post by torzdf »

The most common cause of this issue is spaces in your username.

This seems insane, true, but it is an issue with Miniconda, not with Faceswap (ref: https://github.com/conda/conda/issues/8725)

Most times, uninstalling Miniconda/Anaconda and than manually installing from here: https://repo.anaconda.com/miniconda/Min ... x86_64.exe to a location which does not have spaces in the folder name fixes the issue.

Just make sure you specify the location of your Miniconda folder when you install faceswap.

My word is final

Locked