Skip to content

Commit

Permalink
Added Python 3.n support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-Pravdyukov committed Mar 7, 2017
1 parent 194e0a3 commit 3903a5d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion installator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,15 @@ sudo apt-get install python-pip python-dev python-virtualenv
targetDirectory=$1
virtualenv --system-site-packages "./$targetDirectory"
source ./$targetDirectory/bin/activate
sudo -H pip install --upgrade tensorflow pip
echo "Choose Python version:"
echo "1 Python 2.7"
echo "2 Python 3.n"
read pythonVersion
case $pythonVersion in
1)
sudo -H pip install --upgrade tensorflow pip
;;
2)
sudo -H pip3 install --upgrade tensorflow pip
;;
esac

0 comments on commit 3903a5d

Please sign in to comment.