Skip to content

Commit

Permalink
fix: pip package install error
Browse files Browse the repository at this point in the history
  • Loading branch information
erfjab authored Dec 10, 2024
1 parent 180c6b6 commit 6896d37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -405,4 +406,4 @@ main() {
}

# Execute main function
main "$@"
main "$@"

0 comments on commit 6896d37

Please sign in to comment.