如何运行Conda? [英] How to run Conda?

查看:767
本文介绍了如何运行Conda?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Anaconda并可以运行Python,因此我假设我已正确安装它.按照此介绍性文档,我正在尝试安装Python v3.3,因此我正在复制并将以下行粘贴到我的控制台中:

I installed Anaconda and can run Python, so I assume that I installed it correctly. Following this introductory documentation, I am trying to install Python v3.3, so I am copying and pasting the following line into my console:

conda create -n py33 python=3.3 anaconda

但是,这给了我一个错误:

However, that gives me an error:

-bash:conda:找不到命令

-bash: conda: command not found

要运行Conda,我需要做什么?

我正在Linux系统上工作.

I am working on a Linux system.

推荐答案

您可能想尝试一下:

对于anaconda 2:

export PATH=~/anaconda2/bin:$PATH

对于anaconda 3:

export PATH=~/anaconda3/bin:$PATH

对于anaconda 4:

使用Anaconda提示

Use the Anaconda Prompt

然后

conda --version

确认它有效. 导出 PATH =〜/anaconda3/bin:$ PATH 可以正常运行,但是在退出终端时会停止,以更改必须运行 sudo nano〜/.bashrc 的命令.将路径复制到文件中,然后使用 source .bashrc 激活更改后将其保存.

to confirm that it worked. The export PATH=~/anaconda3/bin:$PATH works but stops when you exit the terminal in order change that you have to run sudo nano ~/.bashrc and then copy the path into the file and save it after that you activate the changes using source .bashrc.

检查conda安装anaconda-navigator 如果未安装,请再次按照anaconda安装说明进行操作

check with conda install anaconda-navigator if not installed follow the anaconda install instructions again

跟随该视频 https://youtu.be/Pr25JlaXhpc

这篇关于如何运行Conda?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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