Ubuntu16.04+anaconda installation + Resolve Conda not available (configuration path) + Uninstall

Source: Internet
Author: User

First of all, I've been installing Python myself and then installing a third-party library directly in the Python environment, but since the other computer was reinstalled, I was directly installing the anaconda without Python, I think she's super-good (so if you don't have Python, just install it), and a lot of third-party libraries (some of which are hard to install) don't need to be installed, she comes with it, especially well, so I'm going to install a

First step: Download the installation package

Here are two: 1, official website https://www.anaconda.com/download/(but the download is slow, so recommend the second one)

2, to the domestic Tsinghua Mirror https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/(can download directly, find the corresponding version)

I downloaded the anaconda3-4.3.1-linux-x86_64.sh, download finished, to the disk you downloaded to find the installation package you downloaded

#不会找的看这里, enter the following code in the PWD#查看当前所处文件夹 # usually downloaded in the download directory under the CD LS#此时你便可以看见你下载的文件 # # # Enter the following command Bash anaconda3-4.3.1-linux-x86_64.sh
# # At this point you can always press ENTER, to the end there is a let add environment variable, you write Yes, but not write also okay, I teach you to add

The above shows that you have installed, then close the window, test

Step two: Conda can not be used

If you have not configured environment variables before, Conda can not be used, see here, configure environment variables

# Add Anaconda Bin directory to PATH, depending on version, may also be ~/anaconda3/binecho ' Export path= ' ~/anaconda2/bin: $PATH ' >> ~/. BASHRC# Update BASHRC to take effect immediately source ~/.BASHRC

The above two lines are executed in the terminal. Then you can use the Conda normally.

Step Three: Uninstall

RM-RF ~/anaconda3

Ubuntu16.04+anaconda installation + Resolve Conda not available (configuration path) + Uninstall

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.