简体   繁体   English

oh my zsh 后找不到 Macbook pro M1 命令

[英]Macbook pro M1 command not found after oh my zsh

I have anaconda installed in my computer and after installing Oh my zsh.我的电脑上安装了 anaconda,安装 Oh my zsh 之后。 Conda and python etc. command is not found.找不到 Conda 和 python 等命令。

zsh: command not found: conda

How can I fix this?我怎样才能解决这个问题? It seems that the solutions I can find on the inte.net is a bit outdated.看来我在 inte.net 上找到的解决方案有点过时了。

It depends on how you installed it.这取决于你如何安装它。 You'll need to check your PATH variable, and compare against what you had in the original.zshrc file.您需要检查您的PATH变量,并与您在 original.zshrc 文件中的内容进行比较。 You can then add it back like so然后你可以像这样把它加回来

PATH="<PATH_TO_DIR_CONTAINING_CONDA:$PATH"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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