如何运行康达? [英] How to run 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 install anaconda-navigator如果未安装,请再次按照 anaconda 安装说明进行操作
check with conda install anaconda-navigator if not installed follow the anaconda install instructions again
跟随这个视频https://youtu.be/Pr25JlaXhpc
这篇关于如何运行康达?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!