1. Install python3
brew install python3
2. Install pip3
brew postinstall python3
3. Install Jupyter
brew install jupyter
4. Install TensorFlow
(Reference: https://www.tensorflow.org/install/install_mac)
pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.9.0-py3-none-any.whl
5. Install Virtual Environment
pip3 install --upgrade virtualenv
6. Create Virtual Environment
virtualenv --system-site-packages -p python3 <TARGET DIRECTORY>
7. Active the Virtual Environment
cd <TARGET DIRECTORY>
source ./bin/activate
8. Uninstall python3
brew uninstall python3
9. Install Anaconda
pyenv install anaconda3-4.0.0
No comments:
Post a Comment