Installation and use of linux7 anaconda

Source: Internet
Author: User

Installation and use of linux7 anaconda

  1. System environment
    #cat /etc/redhat-releaseCentOS Linux release 7.2.1511 (Core)#python -VPython 2.7.5
  2. Download Anaconda
    : Click Anaconda2
    Description: Choose the version you need, here I use python2.7, click on the right side of the download can.
  3. Anaconda Installation
    #将Anaconda安装文件放在/usr/local目录下cd /usr/local/#执行安装脚本sh Anaconda2-5.2.0-Linux-x86_64.sh
  4. installation process
    (1) Click "ENTER" according to the prompt, as follows:

    (2) Click "Yes" according to the prompt, as follows:

    (3) Choose the installation location as required, I install it here under the/usr/local/path, as follows:

    (4) Write/ROOT/.BASHRC, as follows:

    (5) Successful Installation

    (6) If you need to decide whether to install Microsoft Vscode, I do not need to:
  5. Change the/etc/profile configuration file
    #添加anaconda执行路径echo "export PATH=/usr/local/anaconda2/bin:$PATH" >> /etc/profilesource !$#查看python变化pythonPython 2.7.15 |Anaconda, Inc.| (default, May  1 2018, 23:32:55) ##我们可以看到增加了“Anaconda, Inc.”这个内容!
  6. Anaconda Pack

    #安装pymcconda install pymc#python中importimport pymc
  7. Delete Anaconda
    #删除Anaconda安装文件rm -rf /usr/local/anaconda2#删除路径配置vim /etc/profileexport PATH=/usr/local/anaconda2/bin:$PATH"这一行删除!source  /etc/profile && bash

Installation and use of linux7 anaconda

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.