For this project, we use the Conda package manager to manage dependencies. Follow the instructions below to install Miniconda for your operating system.
- Open a command prompt (
cmd
). - Run the following commands to quickly and silently install Miniconda:
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -o miniconda.exe start /wait "" .\miniconda.exe /S del miniconda.exe
- Close the command prompt.
- Open a terminal.
- Run the following commands to quickly and silently install Miniconda:
mkdir -p ~/miniconda3 curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm ~/miniconda3/miniconda.sh
- After installing, close and reopen your terminal application or refresh it by running the following command:
source ~/miniconda3/bin/activate conda init --all
- Open a terminal.
- Run the following commands to quickly and silently install Miniconda:
mkdir -p ~/miniconda3 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm ~/miniconda3/miniconda.sh
- After installing, close and reopen your terminal application or refresh it by running the following command:
source ~/miniconda3/bin/activate conda init --all
We use conda
to manage the Python environment for this project.
Run the following command in the project directory:
conda env create -f environment.yml
Run the following command:
conda activate ml
Run the following command:
conda deactivate
After completing the project, you can remove the environment by running the following command:
conda env remove -n ml
Note: The environment name is ml
. You can change it by modifying the name
field in the environment.yml
file.