Skip to content

Commit

Permalink
Updated wording on 'install_depthai.sh' script
Browse files Browse the repository at this point in the history
  • Loading branch information
themarpe committed Jul 25, 2023
1 parent f9f1b1f commit 236e7ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/source/_static/install_depthai.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ do
if [[ "$python_version" == "" ]]; then
echo "No python version found."
echo "Input path for python binary, version 3.8 or higher, or leave empty and python 3.10 will be installed for you."
echo "Press any key to continue"
echo "Press ENTER key to continue"
read -e python_binary_path < /dev/tty
# python not found and user wants to install python 3.10
if [ "$python_binary_path" = "" ]; then
Expand All @@ -66,16 +66,16 @@ do
nr_2=$(echo "${python_version:9:2}" | tr -d -c 0-9)
echo "Python version: $python_version found."
if [ "$nr_1" -gt 2 ] && [ "$nr_2" -gt 7 ]; then # first two digits of python version greater then 3.7 -> python version 3.8 or greater is allowed.
echo "If you want to use it for installation, press ANY key, otherwise input path to python binary."
echo "Press any key to continue"
echo "If you want to use it for installation, press ENTER key, otherwise input path to python binary."
echo "Press ENTER key to continue"
read -e python_binary_path < /dev/tty
# user wants to use already installed python whose version is high enough
if [ "$python_binary_path" = "" ]; then
python_chosen="true"
fi
else
echo "This python version is not supported by depthai. Enter path to python binary version et least 3.8, or leave empty and python 3.10 will be installed automatically."
echo "Press any key to continue"
echo "Press ENTER key to continue"
read -e python_binary_path < /dev/tty
# python version is too low and user wants to install python 3.10
if [ "$python_binary_path" = "" ]; then
Expand Down Expand Up @@ -241,7 +241,7 @@ fi

echo -e '\n\n:::::::::::::::: INSTALATION COMPLETE ::::::::::::::::\n'
echo -e '\nTo run demo app write <depthai_launcher> in terminal.'
echo "Press ANY KEY to finish and run the demo app..."
echo "Press ENTER KEY to finish and run the demo app..."
read -n1 key < /dev/tty
echo "STARTING DEMO APP."
python "$DEPTHAI_DIR/launcher/launcher.py" -r "$DEPTHAI_DIR"

0 comments on commit 236e7ec

Please sign in to comment.