Software Resource - Fall 2020
  • Introduction
  • Anaconda
    • Getting started
    • Managing conda environments
      • Using Navigator
      • Using Terminal
      • Issues using zsh shell
    • Jupyter Notebook
  • Finite Element (FEniCS)
    • Getting started
    • Tutorial
  • Black Box (ML libraries)
    • Tensorflow
    • Pytorch
    • Scikit-learn
    • GPU acceleration
  • Version Control (Git)
    • Getting started
Powered by GitBook
On this page
  • 1. Append path to .zsh
  • 2. Switch to bash
  • Go back to previous page:

Was this helpful?

  1. Anaconda
  2. Managing conda environments

Issues using zsh shell

Anaconda is installed with bash, so you may run into problems using conda if your OS shell is zsh. Here are some solutions:

PreviousUsing TerminalNextJupyter Notebook

Last updated 4 years ago

Was this helpful?

1. Append path to .zsh

Open .bash_profile from terminal:

$ open ~/.bash_profile

Copy snippet after >>> conda initialize >>>. Open .zshrc:

$ open ~/.zshrc

Paste the snippet at the bottom and save. Restart terminal.

2. Switch to bash

Although not a satisfying solution, you could temporarily switch to bash when you are using Anaconda.

# Switch to bash
$ chsh -s /bin/bash
# Switch back to zsh
$ chsh -s /bin/zsh

Go back to previous page:

Using Navigator
Using Terminal