- Install
pip
: 'sudo easy_install pip' - Install
virtualenv
:sudo pip install virtualenv
- Intall
tensorflow
through:virtualenv
:virtualenv --system-site-packages ~/tensorflow
pip install tensorflow==1.2.0 --ignore-installed
- Navigate to the bin folder:
cd ~/tensorflow/bin
- Activate tensorFlow:
- For TSCH:
source activate.csh
- For Bash:
source ./activate
- For TSCH:
- Add this path:
- For bashrc or terminal:
export PYENV_ROOT=/usr/local/opt/pyenv
- Add this line for future use:
vi ~/.bash_profile
- Add this line for future use:
- For tcshrc:
setenv PYTHONHTTPSVERIFY 0
- For bashrc or terminal:
- Make sure to see this configuration if the username is test:
[tensorflow] /Users/test/tensorflow/bin 90
- Install xlrd:
pip install xlrd
- Install matplotlib:
pip install matplotlib
- Add
--ignore-installed six
if you receive a related error message:pip install --ignore-installed six
- Add to matplotlib:
- Navigate to matplotlib folder in the main user folder:
cd ~/.matplotlib
- Open vi and add this file:
backend: TkAgg
- Open vi matplotlibrc and add this file:
backend: TkAgg
- Add
- Install pandas:
pip install pandas
- (In case of errors):
pip install --ignore-installed pandas
- Install jythin:
brew install jython
- Set up jython:
sudo pip install execnet
- In case of using Homebrow and tcsch, you need to add jython to the path. For example,
set path = ($path /usr /usr/bin /usr/local/bin /sw/bin /usr/sbin /usr/X11R6/bin /usr/local/homebrew/Cellar/ant/1.10.1/libexec/bin /usr/local/homebrew/Cellar/git/2.15.1_1/bin /usr/local/homebrew/Cellar/scala/2.12.4/bin /usr/X11R6/bin /usr/local/texlive/2017/bin/x86_64-darwin /usr/local/homebrew/Cellar/jython/2.7.1/bin)
- Install tensoflow 1.5
- Download the code from here
- Run the script
sudo pip install