https://github.com/zotko/mac-conda-setup
https://github.com/zotko/mac-conda-setup
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zotko/mac-conda-setup
- Owner: zotko
- Created: 2024-07-11T11:36:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T11:37:17.000Z (almost 2 years ago)
- Last Synced: 2025-02-28T21:49:33.125Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setting up a Conda Environment on Mac
1. Install Miniconda using Homebrew:
```
brew install --cask miniconda
```
2. Initialize conda for your shell:
```
conda init "$(basename "${SHELL}")"
```
3. Add conda-forge to your channels:
```
conda config --add channels conda-forge
```
4. Disable auto-activation of the base environment:
```
conda config --set auto_activate_base false
```
5. Reload your shell to apply changes:
```
exec zsh -l
```
6. Create a new conda environment with a specified name and install packages from a requirements file:
```
conda create --name env_name --file requirements.txt
```