Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>
This problem may occur when the official website download package is installed directly, which is mainly due to the configuration of environment variables
Generally, we add environment variables by editing . Bash_ Profile or . Bashrc, insert the following code into the file
export PATH=”~/anaconda/bin:$PATH”
But it still prompts “CONDA command not found”
Solution:
The source of this problem is that my terminal is iterm2, with Zsh and oh my Zsh installed. Since then, when I open the command line, I don’t execute ~ /. Bash_ If you want this file to be valid, modify the configuration file of Zsh
Edit ~ /. Zshrc and add a line to the file:
source ~/.bash_ profile
Author: Star blessing
Link: https://www.jianshu.com/p/e84cda5c09ca
Source: Jianshu
The copyright of the simplified book belongs to the author. For any reprint, please contact the author for authorization and indicate the source.
Similar Posts:
- Mac ADB prompts command not found
- Super detail: command not found: the scratch solution (add the scratch environment variable to Zsh under MAC)
- [Solved] Mac install maven Error: zsh: command not found: MVN
- Solve the problem of ADB: command not found on MAC
- macos -bash: yarn: command not found/-bash: cnpm: command not found
- [Solved] JSCH cannot run JAVA bash:java:Command not found.
- After installing node on MAC, enter node – V to prompt node command not found
- Mac open terminal error – bash:: command not found
- CentOS Error -bash:systemctl:command not found
- About javac error bash: Java: command not found solution