|
53 | 53 | if [[ "$python_version" == "" ]]; then |
54 | 54 | echo "No python version found." |
55 | 55 | echo "Input path for python binary, version 3.8 or higher, or leave empty and python 3.10 will be installed for you." |
56 | | - echo "Press any key to continue" |
| 56 | + echo "Press ENTER key to continue" |
57 | 57 | read -e python_binary_path < /dev/tty |
58 | 58 | # python not found and user wants to install python 3.10 |
59 | 59 | if [ "$python_binary_path" = "" ]; then |
|
66 | 66 | nr_2=$(echo "${python_version:9:2}" | tr -d -c 0-9) |
67 | 67 | echo "Python version: $python_version found." |
68 | 68 | 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. |
69 | | - echo "If you want to use it for installation, press ANY key, otherwise input path to python binary." |
70 | | - echo "Press any key to continue" |
| 69 | + echo "If you want to use it for installation, press ENTER key, otherwise input path to python binary." |
| 70 | + echo "Press ENTER key to continue" |
71 | 71 | read -e python_binary_path < /dev/tty |
72 | 72 | # user wants to use already installed python whose version is high enough |
73 | 73 | if [ "$python_binary_path" = "" ]; then |
74 | 74 | python_chosen="true" |
75 | 75 | fi |
76 | 76 | else |
77 | 77 | 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." |
78 | | - echo "Press any key to continue" |
| 78 | + echo "Press ENTER key to continue" |
79 | 79 | read -e python_binary_path < /dev/tty |
80 | 80 | # python version is too low and user wants to install python 3.10 |
81 | 81 | if [ "$python_binary_path" = "" ]; then |
|
241 | 241 |
|
242 | 242 | echo -e '\n\n:::::::::::::::: INSTALATION COMPLETE ::::::::::::::::\n' |
243 | 243 | echo -e '\nTo run demo app write <depthai_launcher> in terminal.' |
244 | | -echo "Press ANY KEY to finish and run the demo app..." |
| 244 | +echo "Press ENTER KEY to finish and run the demo app..." |
245 | 245 | read -n1 key < /dev/tty |
246 | 246 | echo "STARTING DEMO APP." |
247 | 247 | python "$DEPTHAI_DIR/launcher/launcher.py" -r "$DEPTHAI_DIR" |
0 commit comments