首页服务器Linux服务器 Linux(Ubuntu 18.04)上安装Anaconda步骤详解

Linux(Ubuntu 18.04)上安装Anaconda步骤详解

Anaconda是最受欢迎的python数据科学和机器学习平台,用于大规模数据处理,预测分析和科学计算。Anaconda发行版附带了1,000多个数据包,conda命令行工具和Anaconda Navigator的…

Anaconda是最受欢迎的python数据科学和机器学习平台,用于大规模数据处理,预测分析和科学计算。Anaconda发行版附带了1,000多个数据包,conda命令行工具和Anaconda Navigator的桌面图形用户界面。

本教程将指导您完成在Ubuntu 18.04上下载和安装Anaconda Python Distribution。

下载Anaconda

在撰写本文时,Anaconda的最新稳定版本是5.3版本。

Linux,Ubuntu,Anaconda,安装

请选择 64-Bit (x86) Installer 进行下载链接: https://pan.baidu.com/s/1rNA9D8gaGHuIE0Ao_l5AQA 提取码: uecd  。尽量不要用python2.7,很多库已经不提供python2.7支持。

点击链接就会进行下载,同时会弹出信息收集框,直接关闭就好。

Linux,Ubuntu,Anaconda,安装

安装Anaconda

$ sudo sh Anaconda3-5.3.0-Linux-x86_64.sh [sudo] andrew 的密码: Welcome to Anaconda3 5.3.0In order to continue the installation process, please review the licenseagreement.Please, press ENTER to continue>>> # 按下回车... # 多次按空格读完license。Do you accept the license terms? [yes|no][no] >>> yes # 输入yes - Press ENTER to confirm the location - Press CTRL-C to abort the installation - Or specify a different location below...[/home/andrew/anaconda3] >>> /usr/local/anaconda3 # 输入自定义目录... # 安装根据机器性能,通常需要持续几分钟。# 讨论 钉钉群21745728 qq群144081101 567351477# 本文地址:https://www.jianshu.com/p/9fe9ff999234Do you wish to proceed with the installation of Microsoft VSCode? [yes|no] #选择no,一般来说自带的spyder和专业IDE wingIDE更好用。...Do you wish the installer to initialize Anaconda3in your /home/andrew/.bashrc ? [yes|no][no] >>> # 选择yesInitializing Anaconda3 in /home/andrew/.bashrcA backup will be made to: /home/andrew/.bashrc-anaconda3.bakFor this change to become active, you have to open a new terminal.Thank you for installing Anaconda3!===========================================================================Anaconda is partnered with Microsoft! Microsoft VSCode is a streamlinedcode editor with support for development operations like debugging, taskrunning and version control.To install Visual Studio Code, you will need: - Administrator Privileges - Internet connectivityVisual Studio Code License: https://code.visualstudio.com/licenseDo you wish to proceed with the installation of Microsoft VSCode? [yes|no]>>> no添加“export PATH=/usr/local/anconda3/bin:$PATH“ 到/etc/profile,这样所有用户都可以使用Anaconda python3.7了。上面的.bashrc在刚才安装时添加了如下内容:# added by Anaconda3 5.3.0 installer# >>> conda init >>># !! Contents within this block are managed by 'conda init' !!__conda_setup="$(CONDA_REPORT_ERRORS=false '/usr/local/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"if [ $? -eq 0 ]; then /eval "$__conda_setup"else if [ -f "/usr/local/anaconda3/etc/profile.d/conda.sh" ]; then  . "/usr/local/anaconda3/etc/profile.d/conda.sh"  CONDA_CHANGEPS1=false conda activate base else  /export PATH="/usr/local/anaconda3/bin:$PATH" fifiunset __conda_setup~/.bashrc# <<< conda init <<<
本文来自网络,不代表1号站长-站长学院|资讯交流平台立场。转载请注明出处: https://www.1cn.cc/fwq/Linux/9530.html
上一篇Linux kde中11个你不知道的应用程序
下一篇 linux中叹号命令(!)的使用小结
admin

作者: admin

这里可以再内容模板定义一些文字和说明,也可以调用对应作者的简介!或者做一些网站的描述之类的文字或者HTML!

为您推荐

评论列表()

    联系我们

    联系我们

    0898-88888888

    在线咨询: QQ交谈

    邮箱: email@wangzhan.com

    工作时间:周一至周五,9:00-17:30,节假日休息

    关注微信
    微信扫一扫关注我们

    微信扫一扫关注我们

    关注微博
    返回顶部