Some tips on installing Ubuntu and Ubuntu installation python

Source: Internet
Author: User
Tags xgboost

First, install Ubuntu system

1.ubuntu system is a Linux system, and CentOS is not very different, but the individual is recommended to install Ubuntu, it is more suitable for domestic use habits, in other words more cordial.

2. Installation method no longer repeat, there are many tutorials on the Internet, I encountered a problem is Lenovo BIOS must turn off security boot, or you can not find the U disk.

3. The first task after installation is to familiarize yourself with the various operations of the terminal command line, shell syntax, folders and files, and the basic operation of Vim. Because most of the installation, file processing, path add changes are done at the terminal.

Fix Terminal VI edit file up and down turns to ABCD problem:

sudo apt-get remove vim-commonsudoinstall vim

Re-install Vim to

Second, install the Python environment

It's a pit, and it turns out that the easiest way to do that is to be the most effective.

It is recommended that you do not install anaconda in Ubuntu, before Win10 under the use of Anaconda3 flattered, to Ubuntu under a lot of problems.

The first is the installation xgboost cannot import, how to change the path is not possible, because the default GCC4.4.7 version after installing Anaconda, but the PIP installation xgboost is 4.8.5, the version is inconsistent resulting in xgboost cannot be imported. Online methods have tried a lot, the only effective way is to delete anaconda!

Because Ubuntu is not like win system jumbled, it is because the win system console Pip is not so convenient under Ubuntu, so only need anaconda. In Ubuntu as long as the terminal one pip install XXX on the line, although the operation will be a little more, but not time-consuming trouble.

The packages required for machine learning and data mining include, but are not limited to:

NumPy, Pandas, SciPy, Matplotlib, Seaborn, Sklearn, etc.

My own environment installation experience:

Be sure to get root permissions on the terminal installation, or some of the installation process will be error-free, say no permissions, method:

sudo su

Then enter your password to enter root, and then all the way pip unimpeded.

Some tips on installing Ubuntu and Ubuntu installation python

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.