Skip to content

Commit c5268a2

Browse files
committed
fix: fix script "install_docker_scripts.sh"
1 parent 2ba9728 commit c5268a2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

install_docker_scripts.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ rm -rf "$REPO_NAME"
3838

3939
cd "$WORK_DIR_NAME" || exit 1
4040

41-
if ! pip3 install -r requirements.txt; then
41+
if ! python3 -m venv venv; then
42+
echo "Failed to create venv!"
43+
exit 1
44+
fi
45+
46+
if ! ./venv/bin/pip3 install -r requirements.txt; then
4247
echo "Failed to install dependencies for Python!"
4348
exit 1
4449
fi

0 commit comments

Comments
 (0)