zoukankan      html  css  js  c++  java
  • Python_Data_Analysis_01

    Python Data Science Handbook

    https://jakevdp.github.io/PythonDataScienceHandbook/

    How to install anaconda Python on Ubuntu 16.04.

    https://poweruphosting.com/blog/install-anaconda-python-ubuntu-16-04/

    What is Anaconda Python?

    Anaconda is used for Scientific computing which involves heavy calculations, High Scale data processing and predictive analysis.

    Anaconda Python is used by Data scientist, business analyst, and software developers.

    Prerequisites

    Here are the requirements which you should have to install Anaconda Python.

    1.You should have the Ubuntu version of 16.04 and also
    2.The non-root user with sudo privileges for your server

    Installing Anaconda

    Anaconda Python Installation involved only three steps. The steps are

    1. Download the Anaconda installer bash script, i.e., anaconda python install package(Latest Version)
    2. Verify the downloaded script
    3. Run the Script

    Step 1

    To process anaconda python download go [here](https://www.continuum.io/downloads" target="_blank)

    Note: Always try to use the latest version. Anaconda 4.3.0 is the latest version.

    The next step is to use the tmp directory on the server. Why we use tmp directory here? The reason is simple. It is to save memory. Once you installed the Bash Script, you don't need it anymore.

    Change the directory to tmp.

    $ cd /tmp
    

    Now it's time for downloading the bash script. Use curl to download the file.You should copy the URL of the file(Bash Script) from Anaconda Python website.

    Paste the URL in front of curl command and run it.

    $ curl -O https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh
    

    The next step: You have to verify the data integrity using cryptography hash verification via the SHA-256 checksum.

    $ sha256sum Anaconda3-4.2.0-Linux-x86_64.sh
    

    Now: To initialize the installation process, Execute the following code.

    $ bash Anaconda3-4.2.0-Linux-x86_64.sh
    

    You will get the following output.

    Output:
    
    Welcome to Anaconda3 4.2.0 (by Continuum Analytics, Inc.)
    
    To continue the installation process, please    review the license
    agreement.
    Please, press ENTER to continue
    

    Press enter two times.

    Now the license agreement will be there.

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

    Then type Yes.

      

    First, you should set location for installation. You can use the default location for the installation or specify a location of your choice to install.

    Output
    Anaconda3 will now be installed into this location:
    /home/sammy/anaconda3
    
    - Press ENTER to confirm the location
    - Press CTRL-C to abort the installation
    - Or specify a different location below
    
    [/home/sammy/anaconda3] >>> 
    

    The Installation process starts now: The installation process takes place and it will take some time to finish. Once the installation is complete, you will get the below output.

    Output
    ...
    installation finished.
    Do you wish the installer to prepend the Anaconda3     install location
    to PATH in your /home/sammy/.bashrc ? [yes|no]
    [no] >>> 
    

    To use the conda command utility, type yes and you will get the following output.  

    Output
    Prepending PATH=/home/sammy/anaconda3/bin to PATH in    /home/sammy/.bashrc
    A backup will be made to: /home/sammy/.bashrc-anaconda3.bak
    ...
    

    To activate the installation, execute the code below.

    $ source ~/.bashrc
    

    Now you have to verify the installation using the conda command.

    $ conda list
    

    The output will list all the anaconda python packages you have.

    Now, we have verified that the anaconda python is installed. Our next step is to setup the environment for anaconda.

  • 相关阅读:
    第一课时之导读
    python学习之第十六课时--缩进(indentation)
    python学习之第十六课时--函数的作用及定义
    python学习之第十五课时--存址方式及拷贝
    Linux学习之第七课时--链接(link)文件
    Linux学习之第六课时--文件和目录操作管理命令
    Linux学习之第五课时--文本编辑器
    TOJ--1162---dfs(回溯)
    TOJ---3128---bfs(打印路径)
    TOJ---1502---map真强大
  • 原文地址:https://www.cnblogs.com/tlfox2006/p/8487452.html
Copyright © 2011-2022 走看看