dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 878580bb47dee851a5a41cee5fcea2845eae9e87
parent 4307c5c3fba06f20b4d0710bb707520230a9470b
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Sun, 12 Nov 2017 09:54:58 -0500

install scikit-learn and tensorflow through pip

Diffstat:
Minit/30_macos_recipes.sh | 2++
Minit/30_python_pip.sh | 14++++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/init/30_macos_recipes.sh b/init/30_macos_recipes.sh @@ -27,6 +27,7 @@ brews=( git gnupg homebrew/science/paraview + homebrew/science/matplotlib htop-osx highlight # used for syntax highligting in fzf id3v2 # mp3 metadata management @@ -42,6 +43,7 @@ brews=( nmap neovim notmuch + numpy nyancat offlineimap openssl diff --git a/init/30_python_pip.sh b/init/30_python_pip.sh @@ -7,7 +7,11 @@ pkgs=( grepg haxor-news neovim + pandas requests + scikit-learn + tensorflow + virtualenv ) for PIP in pip pip2 pip3; do @@ -21,3 +25,13 @@ for PIP in pip pip2 pip3; do echo "## $PIP not installed" fi done + +# tensorflow in virtualenv +#if [[ "$(type -P python3)" ]]; then +# targetdir=~/code/tensorflow +# mkdir -p $targetdir +# [ -d $targetdir/lib ] || \ +# virtualenv --system-site-packages -p python3 $targetdir +# source $targetdir/bin/activate +# pip3 install --upgrade tensorflow +#fi