Skip to content

Commit

Permalink
Fix: opencv-python-headless hangs when installed with pip
Browse files Browse the repository at this point in the history
  • Loading branch information
radio24 committed Jan 24, 2024
1 parent 184d086 commit 6a7c444
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions install/run_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,9 @@ if [ -f "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED" ] ; then
sudo rm "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED"
fi

# NEW v.0.5.4: opencv-python-headless hangs when installed with pip
check_install_packages "python3-opencv"

# NEW v.0.5.3: New way to install and check Python requirements
# Important: mechanize 0.4.8 cannot correctly be installed under Raspberry Pi OS
# the folder /usr/local/lib/python3.9/distpackages/mechanize is missing
Expand Down
3 changes: 3 additions & 0 deletions install/run_install_on_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,9 @@ if [ -f "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED" ] ; then
rm "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED"
fi

# NEW v.0.5.4: opencv-python-headless hangs when installed with pip
check_install_packages "python3-opencv"

# NEW v.0.5.3: New way to install and check Python requirements
# Important: mechanize 0.4.8 cannot correctly be installed under Raspberry Pi OS
# the folder /usr/local/lib/python3.9/distpackages/mechanize is missing
Expand Down
3 changes: 3 additions & 0 deletions install/run_install_on_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,9 @@ if [ -f "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED" ] ; then
sudo rm "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED"
fi

# NEW v.0.5.4: opencv-python-headless hangs when installed with pip
check_install_packages "python3-opencv"

# NEW v.0.5.3: New way to install and check Python requirements
# Important: mechanize 0.4.8 cannot correctly be installed under Raspberry Pi OS
# the folder /usr/local/lib/python3.9/distpackages/mechanize is missing
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ gunicorn
iniconfig
mechanize==0.4.7
numpy
opencv-python-headless
paramiko
peewee
peewee-migrate
Expand Down

0 comments on commit 6a7c444

Please sign in to comment.