Skip to content
Snippets Groups Projects
Commit 49873678 authored by oschmanf's avatar oschmanf
Browse files

Add files for tensorflow installation in Mac M1

parent d2fe992b
No related branches found
No related tags found
No related merge requests found
# Open a terminal and execute the following command to create the conda environment
# for the workshop
# 'conda env create -f environment.yml'
name: machine_learning_workshop_2022
channels:
- apple
- https://repo.anaconda.com/pkgs/main
- conda-forge
dependencies:
- python==3.10.5
- pandas
- matplotlib
- scikit-learn==1.1.1
- seaborn
- jupyterlab==3.4.4
- pydot
- pillow
- pip
- tensorflow-deps==2.9.0
- pip:
- tensorflow-estimator==2.9.0
- tensorflow-macos==2.9.0
#!/bin/bash
PATH_MINIFORGE=$HOME'/miniforge3'
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
chmod +x Miniforge3-MacOSX-arm64.sh
./Miniforge3-MacOSX-arm64.sh -b -p $PATH_MINIFORGE
$PATH_MINIFORGE/bin/conda env create -f environment_m1.yml
#echo alias workflow_m1=$PATH_MINIFORGE'/envs/workflow/bin/python3.8' >> $HOME/.zshrc
#source $HOME/.zshrc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment