File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ create_env() {
367367 # Create Python 3.10 env for faceswap
368368 delete_env
369369 info " Creating Conda Virtual Environment..."
370- yellow ; " $CONDA_EXECUTABLE " create -n " $ENV_NAME " -c defaults -q python=" $PYENV_VERSION " -y
370+ yellow ; " $CONDA_EXECUTABLE " create -n " $ENV_NAME " -c defaults -q python=" $PYENV_VERSION " setuptools " <81 " -y
371371}
372372
373373
Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ create_env() {
408408 # Create Python 3.10 env for faceswap
409409 delete_env
410410 info " Creating Conda Virtual Environment..."
411- yellow ; " $CONDA_EXECUTABLE " create -n " $ENV_NAME " -c defaults -q python=" $PYENV_VERSION " -y
411+ yellow ; " $CONDA_EXECUTABLE " create -n " $ENV_NAME " -c defaults -q python=" $PYENV_VERSION " setuptools " <81 " -y
412412}
413413
414414
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ InstallDir $PROFILE\faceswap
2020# Install cli flags
2121!define flagsConda " /S /RegisterPython=0 /AddToPath=0 /D=$PROFILE\MiniConda3"
2222!define flagsRepo " --depth 1 --branch r2.3 ${wwwRepo}"
23- !define flagsEnv " -y python=3.10"
23+ !define flagsEnv " -y python=3.10 setuptools $\" <81 $\" "
2424
2525# Folders
2626Var ProgramData
You can’t perform that action at this time.
0 commit comments