Skip to content

Commit ec896df

Browse files
committed
FS2: install: Pin setuptools < 81
1 parent 735ccb1 commit ec896df

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.install/linux/faceswap_setup_x64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

.install/macos/faceswap_setup_macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

.install/windows/install.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
2626
Var ProgramData

0 commit comments

Comments
 (0)