[英]`conda` gives "No such file or Directory" although I added PATH in my .bash_profile
My Jupyter notebook and Conda was breaking down so I decided to remove everything and install it again.我的 Jupyter 笔记本和 Conda 出现故障,所以我决定删除所有内容并重新安装。
I installed anaconda using brew cask install anaconda
Afterward, I added export PATH="/usr/local/anaconda3/bin:$PATH"
in my .bash_profile
(Everything from this instruction )我使用brew cask install anaconda
之后,我在我的.bash_profile
中添加了export PATH="/usr/local/anaconda3/bin:$PATH"
( 本指令中的所有内容)
However, when I type conda --version
it says -bash: /Users/leonard/anaconda3/bin/conda: No such file or directory
但是,当我输入conda --version
它说-bash: /Users/leonard/anaconda3/bin/conda: No such file or directory
Why does this happen and how can I fix it?为什么会发生这种情况,我该如何解决?
I just want to get my Jupyter notebook, R, and Python working.我只想让我的 Jupyter notebook、R 和 Python 正常工作。 Is it possible to use these without using Anaconda?是否可以在不使用 Anaconda 的情况下使用这些? I've been having so many troubles.我遇到了很多麻烦。
关闭该终端并重新启动,它对我有用
With the Apple M1 chip, I did the following to get into the problem.使用 Apple M1 芯片,我执行了以下操作来解决问题。
/Users/myApple/opt/miniconda
在自定义路径/Users/myApple/opt/miniconda
/Users/myApple/miniconda
然后对于 tensorflow,我在/Users/myApple/miniconda
And finally, I got the error conda gives No such file or Directory
.最后,我得到了错误 conda 给出了No such file or Directory
。
Close that terminal and restart,It worked for me
And all is working now Thank you all现在一切正常 谢谢大家
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.