Linux同时安装python2和Python3
我们以Centos为例,默认地,Linux安装好后会默认安装python2版本:[root@localhost spiders]# python –versionPython 2.7.5[root@localhost spiders]# pythonPython 2.7.5 (default, Oct 30 2018, 23:45:53)[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2Type “help”, “copyright”,