File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
[ ![ CodeFactor] ( https://www.codefactor.io/repository/github/ggeop/python-ai-assistant/badge )] ( https://www.codefactor.io/repository/github/ggeop/Python-ai-assistant )
2
2
[ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/8c90305e22186cc2c9d5/maintainability )] ( https://codeclimate.com/github/ggeop/Python-ai-assistant/maintainability )
3
3
[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
4
- [ ![ Build Status] ( https://travis-ci.org /ggeop/Python-ai-assistant.svg?branch=master )] ( https://travis-ci.org/ggeop/Python-ai-assistant )
4
+ [ ![ Build Status] ( https://app. travis-ci.com /ggeop/Python-ai-assistant.svg?branch=master )] ( https://travis-ci.org/ggeop/Python-ai-assistant )
5
5
6
6
7
7
![ alt text] ( https://github.com/ggeop/Python-ai-assistant/blob/master/imgs/jarvis_logo.png )
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ requests==2.21.0
38
38
scikit-learn == 0.21.2
39
39
scipy == 1.5.4
40
40
six == 1.12.0
41
- sklearn == 0.0
42
41
soupsieve == 1.9.1
43
42
SpeechRecognition == 3.8.1
44
43
speedtest-cli == 2.1.1
Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ reset=`tput sgr0`
13
13
# -----------------------------------
14
14
# Python version compatibility check
15
15
# -----------------------------------
16
- version=$( python -V 2>&1 | grep -Po ' (?<=Python )(.+)' )
16
+ version=$( python3 -V 2>&1 | grep -Po ' (?<=Python )(.+)' )
17
17
if [[ -z " $version " ]]
18
18
then
19
19
echo " ${red} No Python 3.x.x in your system${reset} "
20
+ exit 1
20
21
else
21
22
echo " ${green} System Python version is: Python ${version} ${reset} "
22
23
fi
You can’t perform that action at this time.
0 commit comments