命令提示符和 anaconda 提示符之间的区别 [英] difference between command prompt and anaconda prompt

查看:34
本文介绍了命令提示符和 anaconda 提示符之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I installed anaconda into my computer using python. After I install the software, I found there is one program called anaconda prompt.

What is the difference between anaconda prompt and command prompt? If I want to update the package, which one I should use or either one. Like (conda update conda)

Thank you

解决方案

Anaconda command prompt is just like command prompt, but it makes sure that you are able to use anaconda and conda commands from the prompt, without having to change directories or your path.

When you start Anaconda command prompt, you'll notice that it adds/("prepends") a bunch of locations to your PATH. These locations contain commands and scripts that you can run. So as long as you're in the Anaconda command prompt, you know you can use these commands.

During the installation of Anaconda there is a choice to add these to the PATH by default, and if checked you can also use these commands on the regular command prompt. But the anaconda prompt will always work.

As far as updating conda, if it doesn't work in command prompt, you can do

conda update conda

in Anaconda command prompt.

这篇关于命令提示符和 anaconda 提示符之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆