简体   繁体   中英

I messed up conda, commands not working on Mac

its my fist time im working with python on an apple product and outside of the anaconda ide....

I followed the instructions of

"18 Steps to install tensorflow_macos on the M1 MacBook (2020)" and it worked. It was working fine.

Later I tried to install Jupyter Notebook which did not work. I tried a lot and probably did a lot wrong.

I got some "killed" msg in the Terminal

Now Conda (Miniforge3) is installed but the commands are not executed, just ignored.

kleimie@Air-von-Andreas ~ % conda list
kleimie@Air-von-Andreas ~ % conda help
kleimie@Air-von-Andreas ~ % conda --version             
conda 4.9.2

I also can not activate the set environment

Does this PATH make sense? PATH=/Users/kleimie/miniforge3/bin:/Users/kleimie/miniforge3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

Steps to install Tensorflow on Mac OS using conda environment

#download and install anaconda
https://www.anaconda.com/products/individual#macos

#Create virtual environment 
conda create --name tf python=3.8

#Activate environment
source activate tf

#install Tensorflow
conda install tensorflow

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM