From 6896d37ba550c9f31113200387aa9272a0ddd263 Mon Sep 17 00:00:00 2001 From: Erfan <143827987+erfjab@users.noreply.github.com> Date: Wed, 11 Dec 2024 02:19:08 +0330 Subject: [PATCH] fix: pip package install error --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f7f8ab6..a3f67bc 100644 --- a/install.sh +++ b/install.sh @@ -74,6 +74,7 @@ check_system_dependencies() { # Check for missing pip dependencies and install them check_pip_dependencies() { + export PIP_BREAK_SYSTEM_PACKAGES=1 for package in "${PIP_DEPENDENCIES[@]}"; do if ! python3 -c "import $package" &>/dev/null; then log "Installing missing pip dependency: $package" @@ -405,4 +406,4 @@ main() { } # Execute main function -main "$@" \ No newline at end of file +main "$@"