Last active
May 26, 2024 15:58
-
-
Save vitorcalvi/4ba60c4a3f48b2630952b2b963e97e8f to your computer and use it in GitHub Desktop.
env creat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Version 1 | |
#env_name='mlx-chat-app'; | |
#conda deactivate && conda remove --name "$env_name" --all -y && \ | |
#conda create -n "$env_name" python=3.10 -y && conda activate "$env_name" && | |
# pip install tensorflow-macos tensorflow-metal && | |
# pip install -r requirements.txt | |
read -p "Enter the name of the conda environment: " env_name && conda deactivate && conda remove --name "$env_name" --all -y && conda create -n "$env_name" python=3.10 -y && conda activate "$env_name" && pip install -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
read -p "Enter the name of the conda environment: " env_name && conda deactivate && conda remove --name "$env_name" --all -y && conda create -n "$env_name" python=3.10 -y && conda activate "$env_name" && pip install -r requirements.txt