Welcome to MLE! 🎉 Follow these steps to get your development environment teed up and aligned to the rest of the class. This will ensure that we can hit the ground running this Tuesday! 🏃
Windows
- Install Windows Subsystem for Linux using Powershell
wsl --install -d Ubuntu-20.04
- Install Windows Terminal (You can even make it your default!)
- Install Ubuntu
Give it a test drive!
Continue by installing the following tools using Windows Terminal to setup your environment. When prompted, make sure to add conda
to init
.
Tool | Purpose | Command |
---|---|---|
🐍 Anaconda | Python & ML Toolkits | wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh bash Anaconda3-2021.11-Linux-x86_64.sh source ~/.bashrc |
Git | Version Control | sudo apt update && sudo apt upgrade sudo apt install git-all |
Linux (Debian/Ubuntu)
Open terminal using Ctrl+Shift+T. Enter the following commands in terminal to setup your environment. When prompted, make sure to add conda
to init
.
Tool | Purpose | Command |
---|---|---|
🐍 Anaconda | Python & ML Toolkits | wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh bash Anaconda3-2021.11-Linux-x86_64.sh source ~/.bashrc |
Git | Version Control | sudo apt update && sudo apt upgrade sudo apt install git-all |
macOS Intel
Open terminal using ⌘+Space and type terminal
. Enter the following commands in terminal to setup your environment. When prompted, make sure to add conda
to init
.
Tool | Purpose | Command |
---|---|---|
🐍 Anaconda | Python & ML Toolkits | wget https://repo.anaconda.com/archive/Anaconda3-2021.11-MacOSX-x86_64.sh bash Anaconda3-2021.11-MacOSX-x86_64.sh source ~/.bashrc |
Git | Version Control | sudo apt update && sudo apt upgrade sudo apt install git-all |
macOS ARM
To leverage the Mx chip from Python, you must use a special Python distribution called Miniforge.
Open terminal using ⌘+Space and type terminal
. Enter the following commands in terminal to setup your environment.
Miniforge can be installed using Homebrew or from the source. We suggest trying Homebrew option first.
The next steps require homebrew
installed. To install Homebrew, follow the link and copy/paste the installation command into a terminal window. Once you have installed Homebrew, restart the terminal window.
Install the xcode-select
command-line utilities by typing the following command in the terminal
xcode-select --install
After running the commands from the table, when prompted, initiate your conda base environment by running conda init
.
Tool | Purpose | Command |
---|---|---|
🐍 Miniforge | Python & ML Toolkits | brew install miniforge |
Git | Version Control | sudo apt update && sudo apt upgrade sudo apt install git-all |
After running the commands from the table, when prompted, initiate your conda base environment by running conda init
.
Tool | Purpose | Command |
---|---|---|
🐍 Miniforge | Python & ML Toolkits | chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh sh ~/Downloads/Miniforge3-MacOSX-arm64.sh source ~/miniforge3/bin/activate |
Git | Version Control | sudo apt update && sudo apt upgrade sudo apt install git-all |
If you don't already have one, make an account on Github
Creating a New Repository
When viewing the respository page, click on New
and proceed to create your repo.
Filling Respository Details
Create the repository by inputting the following:
Repo name
Repo description
- Make repo
public
- Add a
README
- Add
.gitignore
(Python template) - Add
license
(choose MIT)
Then click Create Repository
.