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