精华内容
下载资源
问答
  • 我的系统:Ubuntu 18.04 1. 在官网上下载所需要的版本 下载链接:https://www.anaconda.com/distribution/#download-section 2. 在terminal中运行安装包 bash ~/Downloads/Anaconda3-2019.10-Linux-x86_64.sh ...

    我的系统:Ubuntu 18.04
    安装的Anaconda版本 Python3.7

    1. 在官网上下载所需要的版本

    下载链接:https://www.anaconda.com/distribution/#download-section

    在这里插入图片描述

    2. 在terminal中运行安装包

    bash ~/Downloads/Anaconda3-2019.10-Linux-x86_64.sh
    

    下面是安装过程中的输入

    • 用户条款:yes
    • 安装地址:可以输入自己想安装的地址,也可以直接yes
    • 初始化: yes (或者之后使用conda init

    出现 “Thank you for installing Anaconda3!”即安装成功。同时出现一个安装支持Anaconda的PyCharm的链接:https://www.anaconda.com/pycharm.

    关闭terminal, 或者输入source ~/.bashrc使安装生效

    3. 验证安装

    输入conda list如果成功安装,会显示你安装的packages的列表

    打开Anaconda Navigator: anaconda-navigator

    激活或取消(base)环境:

    conda config --set auto_activate_base False or True
    
    展开全文
  • 下载官方下载地址:https://www.continuum.io/downloads所有安装包地址:https://repo.continuum.io/archive/这里使用 Python 3.5 版本的 “Anaconda3-4.2.0-Linux-x86_64....t@ubuntu:~/Downloads$ bash Anaconda3-...

    下载

    官方下载地址:https://www.continuum.io/downloads

    所有安装包地址:https://repo.continuum.io/archive/

    这里使用 Python 3.5 版本的 “Anaconda3-4.2.0-Linux-x86_64.sh”

    安装

    根据提示,键入enter继续向下安装

    kxlc-t@ubuntu:~/Downloads$ bash Anaconda3-5.1.0-Linux-x86_64.sh

    Welcome to Anaconda35.1.0In order tocontinuethe installation process, please review the license

    agreement.

    Please, press ENTER tocontinue

    >>>

    阅读完注册信息后,输入yes

    Do you accept the license terms? [yes|no]

    [no]>>> Please answer 'yes' or 'no':'

    回车即可安装

    Anaconda3 will now be installed into this location:/home/kxlc-t/anaconda3-Press ENTER to confirm the location- Press CTRL-C to abort the installation-Or specify a different location below

    [/home/kxlc-t/anaconda3] >>>

    安装如预期在正常进行

    Anaconda3 will now be installed into this location:/home/kxlc-t/anaconda3-Press ENTER to confirm the location- Press CTRL-C to abort the installation-Or specify a different location below

    [/home/kxlc-t/anaconda3] >>>PREFIX=/home/kxlc-t/anaconda3

    installing: python-3.6.4-hc3d631a_1 ...

    Python3.6.4:: Anaconda, Inc.

    installing: ca-certificates-2017.08.26-h1d4fec5_0 ...

    installing: conda-env-2.6.0-h36134e3_1 ...

    installing: intel-openmp-2018.0.0-hc7b2577_8 ...

    installing: libgcc-ng-7.2.0-h7cc24e2_2 ...

    installing: libgfortran-ng-7.2.0-h9f7466a_2 ...

    installing: libstdcxx-ng-7.2.0-h7a57d05_2 ...

    installing:bzip2-1.0.6-h9a117a8_4 ...

    installing: expat-2.2.5-he0dffb1_0 ...

    installing: gmp-6.1.2-h6c8ec71_1 ...

    installing: graphite2-1.3.10-hf63cedd_1 ...

    installing: icu-58.2-h9c2bf20_1 ...

    installing: jbig-2.1-hdba287a_0 ...

    installing: jpeg-9b-h024ee3a_2 ...

    installing: libffi-3.2.1-hd88cf55_4 ...

    installing: libsodium-1.0.15-hf101ebd_0 ...

    installing: libtool-2.4.6-h544aabb_3 ...

    installing: libxcb-1.12-hcd93eb1_4 ...

    installing: lzo-2.10-h49e0be7_2 ...

    installing: mkl-2018.0.1-h19d6760_4 ...

    输入yes,加入环境变量

    看到这些信息说明已经安装完成。

    根据信息“For this change to become active, you have to open a new

    terminal.”(要使这个更改生效,必须打开一个新的终端。)这句话提示,需要在新的终端窗口使用anaconda,打开新的终端,查看相应的版本信息

    查看 conda 的版本号

    kxlc-t@ubuntu:~$ conda -V

    conda4.4.10kxlc-t@ubuntu:~$

    打开 Jupyter Notebook

    notebook的打开方式,也很简单

    kxlc-t@ubuntu:~$ jupyter notebook

    [I01:48:14.486 NotebookApp] The port 8888 is already inuse, trying another port.

    [I01:48:14.711 NotebookApp] JupyterLab beta preview extension loaded from /home/kxlc-t/anaconda3/lib/python3.6/site-packages/jupyterlab

    [I01:48:14.712 NotebookApp] JupyterLab application directory is /home/kxlc-t/anaconda3/share/jupyter/lab

    [I01:48:14.759 NotebookApp] Serving notebooks from local directory: /home/kxlc-t

    [I01:48:14.759 NotebookApp] 0active kernels

    [I01:48:14.759NotebookApp] The Jupyter Notebook is running at:

    [I01:48:14.760 NotebookApp] http://localhost:8889/?token=605b46819a7dd5e99d71a07c7f3a53ea4a789b62c6c38764

    [I 01:48:14.760 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

    [C01:48:14.761NotebookApp]

    Copy/paste this URL into your browser when you connect for the first time,

    tologinwith a token:

    http://localhost:8889/?token=605b46819a7dd5e99d71a07c7f3a53ea4a789b62c6c38764

    [I 01:48:22.437 NotebookApp] Accepting one-time-token-authenticated connection from 127.0.0.1

    下面这种方式,也是可以打开notebook

    kxlc-t@ubuntu:~$ ipython notebook

    [TerminalIPythonApp] WARNING| Subcommand `ipython notebook` is deprecated and will be removed infuture versions.

    [TerminalIPythonApp] WARNING| You likely want to use `jupyter notebook` inthe future

    [I01:49:43.605 NotebookApp] The port 8888 is already inuse, trying another port.

    [I01:49:43.863 NotebookApp] JupyterLab beta preview extension loaded from /home/kxlc-t/anaconda3/lib/python3.6/site-packages/jupyterlab

    [I01:49:43.864 NotebookApp] JupyterLab application directory is /home/kxlc-t/anaconda3/share/jupyter/lab

    [I01:49:43.944 NotebookApp] Serving notebooks from local directory: /home/kxlc-t

    [I01:49:43.945 NotebookApp] 0active kernels

    [I01:49:43.945NotebookApp] The Jupyter Notebook is running at:

    [I01:49:43.945 NotebookApp] http://localhost:8889/?token=7b1a5b2aa3103031569783144f91b92c7dcd8d4c600fa58f

    [I 01:49:43.945 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

    [C01:49:43.947NotebookApp]

    Copy/paste this URL into your browser when you connect for the first time,

    tologinwith a token:

    http://localhost:8889/?token=7b1a5b2aa3103031569783144f91b92c7dcd8d4c600fa58f

    [I 01:49:49.516 NotebookApp] Accepting one-time-token-authenticated connection from 127.0.0.1

    展开全文
  • anaconda tutorial on ubuntu 16.04Guideversions:ubuntu 16.04conda 4.6.14python 3.7.3 (default)python 3.5.6 (env)Install Condadownload Anaconda3-2019.03-Linux-x86_64.sh from herebash ...

    本文首发于个人博客,欢迎阅读最新内容!anaconda tutorial on ubuntu 16.04

    Guide

    versions:

    ubuntu 16.04

    conda 4.6.14

    python 3.7.3 (default)

    python 3.5.6 (env)

    Install Conda

    download Anaconda3-2019.03-Linux-x86_64.sh from here

    bash ./Anaconda3-2019.03-Linux-x86_64.sh复制代码

    output

    [/home/kezunlin/anaconda3] >>>

    PREFIX=/home/kezunlin/anaconda3

    installing: python-3.7.3-h0371630_0 ...

    Python 3.7.3

    ...

    installing: scikit-image-0.14.2-py37he6710b0_0 ...

    installing: scikit-learn-0.20.3-py37hd81dba3_0 ...

    installing: astropy-3.1.2-py37h7b6447c_0 ...

    installing: statsmodels-0.9.0-py37h035aef0_0 ...

    installing: seaborn-0.9.0-py37_0 ...

    installing: anaconda-2019.03-py37_0 ...

    installation finished.

    Do you wish the installer to initialize Anaconda3

    by running conda init? [yes|no]复制代码

    If you'd prefer that conda's base environment not be activated on startup,

    set the auto_activate_base parameter to false: 复制代码

    conda config --set auto_activate_base false复制代码

    Thank you for installing Anaconda3!复制代码

    conda config --set autoactivatebase false

    check version

    conda --version

    conda 4.6.11复制代码

    conda update conda复制代码

    conda --version

    conda 4.6.14复制代码

    Managing Environments

    create new env

    When you begin using conda, you already have a default environment named base. You don't want to put programs into your base environment, though. Create separate environments to keep your programs isolated from each other.

    (base) kezunlin@ke:~$ conda --version

    conda 4.6.14复制代码

    (base) kezunlin@ke:~$ conda create --name snowflakes biopython

    (base) kezunlin@ke:~$ conda activate snowflakes

    (snowflakes) kezunlin@ke:~$

    (snowflakes) kezunlin@ke:~$ conda deactivate

    (base) kezunlin@ke:~$ 复制代码

    conda activate only works on conda 4.6 and later versions.

    list envs

    conda info --envs

    # conda environments:

    #

    base * /home/kezunlin/anaconda3

    snowflakes /home/kezunlin/anaconda3/envs/snowflakes复制代码

    ~/.conda/environments.txt

    /home/kezunlin/anaconda3

    /home/kezunlin/anaconda3/envs/snowflakes

    /home/kezunlin/anaconda3/envs/py35复制代码

    Managing Python

    When you create a new environment, conda installs the same Python version you used when you downloaded and installed Anaconda. If you want to use a different version of Python, for example Python 3.5, simply create a new environment and specify the version of Python that you want.

    conda create --name snakes python=3.5

    conda activate py35复制代码

    conda info --envs

    # conda environments:

    #

    base /home/kezunlin/anaconda3

    py35 * /home/kezunlin/anaconda3/envs/py35

    snowflakes /home/kezunlin/anaconda3/envs/snowflakes复制代码

    (base) kezunlin@ke:~$ python --version

    Python 3.7.3

    (base) kezunlin@ke:~$ conda activate py35

    (py35) kezunlin@ke:~$ python --version

    Python 3.5.6 :: Anaconda, Inc.复制代码

    Managing packages

    list packages

    (base) kezunlin@ke:~$ conda activate py35(py35) kezunlin@ke:~$(py35) kezunlin@ke:~$ conda list

    packages in environment at /home/kezunlin/anaconda3/envs/py35:

    Name Version Build Channel

    ca-certificates 2019.1.23 0

    certifi 2018.8.24 py35_1

    libedit 3.1.20181209 hc058e9b_0

    search

    conda search beautifulsoup4复制代码

    ...

    beautifulsoup4 4.6.3 py27_0 pkgs/main

    beautifulsoup4 4.6.3 py35_0 pkgs/main

    beautifulsoup4 4.6.3 py36_0 pkgs/main

    beautifulsoup4 4.6.3 py37_0 pkgs/main

    beautifulsoup4 4.7.1 py27_1 pkgs/main

    beautifulsoup4 4.7.1 py36_1 pkgs/main

    beautifulsoup4 4.7.1 py37_1 pkgs/main 复制代码

    install

    conda install beautifulsoup4复制代码

    conda config

    conda config --set show_channel_urls yes

    conda config --show

    复制代码

    Tools

    Jupyter notebook

    install jupyter

    conda create -n py35 python=3.5conda activate py35conda install jupyter

    install kernel

    python -m ipykernel install --user --name=py35

    Installed kernelspec py35 in /home/kezunlin/.local/share/jupyter/kernels/py35复制代码

    jupyter depends on notebook and ipykernel

    run jupyter

    jupyter notebook复制代码

    now we can see py35 kernel appears.

    9cd968fb3b774b9eaf3a3c028b31288b.png

    tensorflow-gpu/keras

    conda activate py35

    conda install tensorflow-gpu keras复制代码

    test

    >>>import tensorflow as tf

    >>>import keras as K

    Using TensorFlow backend.复制代码

    .keras/keras.json

    {

    "epsilon": 1e-07,

    "floatx": "float32",

    "image_data_format": "channels_last",

    "backend": "tensorflow"

    }复制代码

    pytorch

    Reference

    History

    20190524: created.

    Copyright

    Post author: kezunlin

    Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.

    展开全文
  • 本文首发于个人博客...anaconda tutorial on ubuntu 16.04 Guide versions: ubuntu 16.04 conda 4.6.14 python 3.7.3 (default) python 3.5.6 (env) Install Conda download An...

    本文首发于个人博客https://kezunlin.me/post/23014ca5/,欢迎阅读最新内容!anaconda tutorial on ubuntu 16.04

    Guide

    versions:

    • ubuntu 16.04
    • conda 4.6.14
    • python 3.7.3 (default)
    • python 3.5.6 (env)

    Install Conda

    download Anaconda3-2019.03-Linux-x86_64.sh from here

        bash ./Anaconda3-2019.03-Linux-x86_64.sh

    output

        [/home/kezunlin/anaconda3] >>> 
        PREFIX=/home/kezunlin/anaconda3
        installing: python-3.7.3-h0371630_0 ...
        Python 3.7.3
        ...
        installing: scikit-image-0.14.2-py37he6710b0_0 ...
        installing: scikit-learn-0.20.3-py37hd81dba3_0 ...
        installing: astropy-3.1.2-py37h7b6447c_0 ...
        installing: statsmodels-0.9.0-py37h035aef0_0 ...
        installing: seaborn-0.9.0-py37_0 ...
        installing: anaconda-2019.03-py37_0 ...
        installation finished.
        Do you wish the installer to initialize Anaconda3
        by running conda init? [yes|no]
        If you'd prefer that conda's base environment not be activated on startup, 
           set the auto_activate_base parameter to false: 
        conda config --set auto_activate_base false
        Thank you for installing Anaconda3!

    conda config --set autoactivatebase false

    check version

        conda --version
        conda 4.6.11
        conda update conda
        conda --version
        conda 4.6.14

    Managing Environments

    create new env

    When you begin using conda, you already have a default environment named base. You don't want to put programs into your base environment, though. Create separate environments to keep your programs isolated from each other.

        (base) kezunlin@ke:~$ conda --version
        conda 4.6.14
        (base) kezunlin@ke:~$ conda create --name snowflakes biopython
        (base) kezunlin@ke:~$ conda activate snowflakes
        (snowflakes) kezunlin@ke:~$ 
        (snowflakes) kezunlin@ke:~$ conda deactivate
        (base) kezunlin@ke:~$ 

    conda activate only works on conda 4.6 and later versions.

    list envs

        conda info --envs
        # conda environments:
        #
        base                  *  /home/kezunlin/anaconda3
        snowflakes               /home/kezunlin/anaconda3/envs/snowflakes

    ~/.conda/environments.txt

    /home/kezunlin/anaconda3
    /home/kezunlin/anaconda3/envs/snowflakes
    /home/kezunlin/anaconda3/envs/py35

    Managing Python

    When you create a new environment, conda installs the same Python version you used when you downloaded and installed Anaconda. If you want to use a different version of Python, for example Python 3.5, simply create a new environment and specify the version of Python that you want.

        conda create --name snakes python=3.5
        conda activate py35
        conda info --envs
        # conda environments:
        #
        base                     /home/kezunlin/anaconda3
        py35                  *  /home/kezunlin/anaconda3/envs/py35
        snowflakes               /home/kezunlin/anaconda3/envs/snowflakes
        (base) kezunlin@ke:~$ python --version
        Python 3.7.3
        (base) kezunlin@ke:~$ conda activate py35
        (py35) kezunlin@ke:~$ python --version
        Python 3.5.6 :: Anaconda, Inc.

    Managing packages

    list packages

    (base) kezunlin@ke:~$ conda activate py35(py35) kezunlin@ke:~$(py35) kezunlin@ke:~$ conda list

    packages in environment at /home/kezunlin/anaconda3/envs/py35:

    Name Version Build Channel

    ca-certificates 2019.1.23 0
    certifi 2018.8.24 py35_1
    libedit 3.1.20181209 hc058e9b_0

    search

        conda search beautifulsoup4
        ...
        beautifulsoup4                 4.6.3          py27_0  pkgs/main           
        beautifulsoup4                 4.6.3          py35_0  pkgs/main           
        beautifulsoup4                 4.6.3          py36_0  pkgs/main           
        beautifulsoup4                 4.6.3          py37_0  pkgs/main           
        beautifulsoup4                 4.7.1          py27_1  pkgs/main           
        beautifulsoup4                 4.7.1          py36_1  pkgs/main           
        beautifulsoup4                 4.7.1          py37_1  pkgs/main      

    install

        conda install beautifulsoup4

    conda config

        conda config --set show_channel_urls yes
        conda config --show
    

    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><script>(adsbygoogle = window.adsbygoogle || []).push({});</script>

    Tools

    Jupyter notebook

    install jupyter

    conda create -n py35 python=3.5conda activate py35conda install jupyter

    install kernel

        python -m ipykernel install --user --name=py35
        Installed kernelspec py35 in /home/kezunlin/.local/share/jupyter/kernels/py35

    jupyter depends on notebook and ipykernel

    also see tensorflow jupyter notebook kenel

    run jupyter

        jupyter notebook

    now we can see py35 kernel appears.

    py35 kernel

    tensorflow-gpu/keras

        conda activate py35
        conda install tensorflow-gpu keras

    test

         >>>import tensorflow as tf
         >>>import keras as K
         Using TensorFlow backend.

    .keras/keras.json

    {
        "epsilon": 1e-07, 
        "floatx": "float32", 
        "image_data_format": "channels_last", 
        "backend": "tensorflow"
    }

    pytorch

    see pytorch tutorial on ubuntu 16.04

    Reference

    History

    • 20190524: created.

    Copyright

    展开全文
  • 本文介绍在Ubuntu 20.04 系统中安装anaconda
  • 取得的Linux 下Anaconda 安装文件包地址: https://repo.anaconda.com/archive/Anaconda3-2020.07-Linux-x86_64.sh mkdir Downloads #新建一个目录,用与存放下载的安装文件 cd Downloads #进入Downloads 字目录 ...
  • win10+ubuntu18.04双系统安装教程+Anaconda安装创建系统盘ultraiso使用方法:为Ubuntu安装空出分区关闭win10快速启动BIOS设置安装ubuntu重启后进不去双系统选择页面情况。换国内源Anaconda安装pip速度慢 创建系统盘 ...
  • ubuntu安装anaconda教程

    千次阅读 2019-04-02 15:43:56
    环境说明:Ubuntu16.04 64位系统 终端为zsh step1:下载anaconda 下载网址:https://www.anaconda.com/distribution/ 选择对应的版本信息下载,下载到自己指定的文件夹 2、进入下载好的文件夹,打开终端,输入...
  • anaconda3中python3.5怎么安装Anaconda 官网下载地址:如果系统只有一个用户选择默认的第一个即可,如果有多个用户而且都要用到 Anaconda ,则选择第二个选项。为了避免之后不必要的麻烦,建议默认路径安装即可...
  • 下载 官方下载地址:https://www.continuum.io/downloads ... 这里使用 Python 3.5 版本的 “Anaconda3-4.2.0-Linux-x86_64.sh” 安装 这里参考官方文档:https://docs.continuum.io/anaconda/ins...
  • Ubuntu 18.04.3+Windows10双系统安装教程 众所周知,Linux系统在开发、部署深度学习模型算法具有天然的优势。现在可能还有很多童鞋在使用win10下的anaconda在做开发。其实利用anaconda prompt进行包管理的时候很...
  • 1.先在window系统解压(也可以在ubuntu上解压)得到Anaconda3-2019.07-Linux-x86_64.sh文件,然后将Anaconda3-2019.07-Linux-x86_64.sh文件上传到ubuntu上 2. 连接远程服务器,这里我使用的是xshell连接,进入Anaco...
  • Ubuntu 16.04下Anaconda安装及使用教程

    千次阅读 2019-04-20 14:45:02
    可以直接把下载的安装包(例如 “Anaconda3-5.2.0-Linux-x86_64” )复制到Ubuntu的Downloads文件夹中,在Downloads文件中单击鼠标右键 Open in Terminal ,在Terminal中执行以下命令: bash Anaconda3-5.2.0-Linux.....
  • 2.Anaconda3安装步骤 进入安装包Anaconda3-2019.10-Linux-x86_64.sh所在目录,打开终端。 执行: bash Anaconda3-2018.12-Linux-x86_64.sh 然后就开始一直按回车键,按一次回车之后左下角会显示一个“–More–”,...
  • 我是在windows系统下,安装VMware然后在里面下载了Ubuntu,现在要在Ubuntu里下载安装anacondaUbuntu的版本是最新的20.0,anaconda是3-5.3.0,对应python是3.7.0 具体如何对应版本参考anaconda与python版本对应 VM...
  • ubuntu安装anaconda教程

    千次阅读 2017-03-30 02:54:55
    https://www.continuum.io/downloads Anaconda 4.3.1 For Linux ...Anaconda is BSD licensed which gives you permission to use Anaconda commercially and for redistribution. Changelog Downlo
  • Ubuntu 16.04安装anaconda3详细教程

    万次阅读 多人点赞 2018-09-06 22:12:49
    首先在主机端下载anaconda3镜像,清华大学开源软件镜像站下载地址: ...上篇文章已安装了Vmave Tools工具,可以直接把下载的安装包 Anaconda3-5.2.0-Linux-x86_64 复...
  • 主要介绍了Ubuntu18.04 安装 Anaconda3的教程,本文通过实例图文相结合给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
  • Ubuntu16.04 anaconda安装教程--一看就懂。一些常用的conda指令。
  • 贴一个成功的连接: https://blog.csdn.net/u012243626/article/details/82469174 转载于:https://www.cnblogs.com/elitphil/p/11576380.html

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 698
精华内容 279
关键字:

anaconda安装教程ubuntu