I have installed Miniforge on my macbook air m1, and then did the following steps to successfully install jupyter and launch it:
chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh
sh ~/Downloads/Miniforge3-MacOSX-arm64.sh
source ~/miniforge3/bin/activate
mkdir data-science
cd data-science
conda create --prefix ./env python=3.8
conda activate ./env
conda install -y jupyter
conda install pandas numpy matplotlib scikit-learn tqdm
Then: I launched Jupyter this way:
jupyter notebook
Everything worked fine. But when I exited the terminal and opened again and typed:
jupyter notebook
I got this error: zsh: command not found: jupyter
What is the problem?
I know that this is a path problem, but even when I go to env environment, and I run jupyter notebook I get the same command error.
conda activate ./envin the new terminal? – nohillside Jun 02 '22 at 22:47~/data-science/env? – nohillside Jun 02 '22 at 22:54cat ~/data-science/envand add the result to the question. Reruncd ~/data-science; conda activate ./envand also add the result to the question using copy/paste from Terminal. – nohillside Jun 03 '22 at 05:27