Skip to content

Commit

Permalink
Added conda Mac environment
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedamen committed Jun 4, 2020
1 parent f02c69f commit 9b13a6b
Show file tree
Hide file tree
Showing 6 changed files with 296 additions and 153 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ https://nbviewer.jupyter.org/github/cuemacro/teaching/blob/master/pythoncourse/i
# Coding log

* 04 Jun 2020
* Added Mac conda environment
* Added Mac conda environment (and installation)
* 30 May 2020
* Added pyLDAvis to Anaconda installation files
* 27 May 2020
Expand Down
2 changes: 2 additions & 0 deletions pythoncourse/installation/create_conda_env_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ conda update -n base -c defaults conda --yes
# conda config --set allow_conda_downgrades true
# conda install conda=4.6.11

conda activate
source activate

# Remove any existing environment called py36class, and create a py36class with anaconda packages
conda remove -n py36class --all --yes
conda create -n py36class python=3.6
conda activate py36class
source activate py36class

# Install Tensorflow, PyTorch and Anaconda (lots of pacakged)
Expand Down
8 changes: 5 additions & 3 deletions pythoncourse/installation/create_conda_env_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ conda update -n base -c defaults conda --yes
# conda config --set allow_conda_downgrades true
# conda install conda=4.6.11

conda activate
source activate

# Remove any existing environment called py36class, and create a py36class with anaconda packages
conda remove -n py36class --all --yes
conda create -n py36class python=3.6
conda activate py36class
source activate py36class

# Install Tensorflow, PyTorch and Anaconda (lots of pacakged)
# Pandas 0.24.2 is needed for some packages and scikit-learn 0.20.2
# only if you have GPU below 2 lines instead of CPU versions
# conda install anaconda tensorflow-gpu=2.1.0 anaconda pandas=0.24.2 scikit-learn=0.20.2 graphviz python-graphviz --yes
# only if you have GPU below 2 lines instead of CPU versions (although this hasn't been tested on Mac)
# conda install anaconda tensorflow-gpu=2.0.0 anaconda pandas=0.24.2 scikit-learn=0.20.2 graphviz python-graphviz --yes
# conda install pytorch torchvision cudatoolkit=10.1 -c pytorch --yes
conda install anaconda tensorflow=2.1.0 anaconda pandas=0.24.2 scikit-learn=0.20.2 graphviz python-graphviz --yes
conda install anaconda tensorflow=2.0.0 anaconda pandas=0.24.2 scikit-learn=0.20.2 graphviz python-graphviz --yes
conda install pytorch torchvision cpuonly -c pytorch --yes

# OpenCV and PyArrow need to be installed earlier
Expand Down
Loading

0 comments on commit 9b13a6b

Please sign in to comment.