Do the depth of learning-related projects, the most painful is no GPU resources, and fortunately this year finally have the first depth learning server, although it is in the form of hire purchase, it does not affect our actual use, most Buy now people preferred cloud server resources may all be Ali cloud, the cloud is now doing well after all, gossip is not to say, here is mainly the record about their actual installation process, from last night to begin the installation step by a pit , and now the successful use, share some of my personal practice experience, hoping to help those in need.
1, the first open xshell log in to view the version information of Python
Check which python Python system pre-installed default position
You can see from the above screenshot: The system is pre-installed python 2.7 version, we need a version 3.6 and above, so here we need themselves to install the required version.
2, python3 version installed
Install dependencies, the following command:
yum -y groupinstall "Development tools"
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
Can copy to use, not allowed to do any changes.
After the preceding operations, designated versions compressed download, command as follows:
wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.xz
Download your own