We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 055607b commit 015f2beCopy full SHA for 015f2be
install.sh
@@ -61,7 +61,8 @@ function install_software() {
61
}
62
63
function check_python_version() {
64
- if ! python3 -V | grep '3.[7-9].[0-9]' > /dev/null 2>&1; then
+ python3 -V | grep '3.[7-9].[0-9]' &> /dev/null
65
+ if ! [ $? == 0 ]; then
66
echo "An unsupported version of python 3 is installed. Must have python 3.7+ installed to use the Hologram SDK"
67
exit 1
68
fi
@@ -124,7 +125,8 @@ do
124
125
pause "Installing $program. Press [Enter] key to continue...";
126
install_software 'python3-pip'
127
- if ! pip3 -V | grep '3.[7-9]' >/dev/null 2>&1; then
128
+ pip3 -V | grep '3.[7-9]' &> /dev/null
129
130
echo "pip3 is installed for an unsupported version of python."
131
132
0 commit comments