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

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

问题描述

我使用python将anaconda安装到了我的计算机中.安装软件后,我发现有一个名为anaconda提示符的程序.

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

anaconda提示符和命令提示符之间有什么区别?如果我想更新软件包,则应使用哪个软件包.赞(conda更新conda)

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)

谢谢

推荐答案

Anaconda命令提示符与命令提示符类似,但是它确保您可以在提示符下使用anaconda和conda命令,而不必更改目录或你的路.

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.

启动Anaconda命令提示符时,您会注意到它在PATH中添加/(添加")了很多位置.这些位置包含可以运行的命令和脚本.因此,只要您在Anaconda命令提示符下,您就可以使用这些命令.

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.

在安装Anaconda的过程中,可以选择默认情况下将其添加到PATH中,如果选中,还可以在常规命令提示符下使用这些命令.但是anaconda提示将始终有效.

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.

至于更新conda,如果它在命令提示符下不起作用,则可以进行

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

conda update conda

在Anaconda命令提示符下按

.

in Anaconda command prompt.

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

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