1. apt-get install python3 (installed under /usr/local/lib by default after successful installation)
Second, cd / usr / bin
3. rm python
4, ln -s /usr/bin/python3.4 /usr/bin/python
5. Enter python in the terminal and display python as 3.4
1. apt-get install python3 (installed under /usr/local/lib by default after successful installation)
Second, cd / usr / bin
3. rm python
4, ln -s /usr/bin/python3.4 /usr/bin/python
5. Enter python in the terminal and display python as 3.4