[Seek Help] 如何卸载默认自带的python版本,自己安装3.8.2?
Tofloor
poster avatar
woolgather
deepin
2021-09-09 05:50
Author

如何卸载默认自带的python版本,自己安装3.8.2?

Reply Favorite View the author
All Replies
观摩
deepin
2021-09-09 06:02
#1

输入 python3,就可以使用自带的 python3.7.3。

不要卸载自带的 Python,其实是Python2,系统底层依赖他。

 

如果一定要用 Python3.8.x,可以使用pyenv、padavan 之类的

Reply View the author
woolgather
deepin
2021-09-09 06:04
#2
观摩

输入 python3,就可以使用自带的 python3.7.3。

不要卸载自带的 Python,其实是Python2,系统底层依赖他。

 

如果一定要用 Python3.8.x,可以使用pyenv、padavan 之类的

有需要必须使用3.8.2版本及以上。

最好3.8.2

 

Reply View the author
Barry-okx
Junior Packager
2021-09-09 06:09
#3

conda你知道不?

Reply View the author
woolgather
deepin
2021-09-09 06:11
#4

conda我不知道

我到官网下载了3.8.2源代码,安装好了

终端输入python3

就成了3.8.2

 

Reply View the author
安洛
deepin
2021-09-09 06:49
#5

python多版本共存有很多工具。用官网源码安装相对来说风险有点大。

Reply View the author
yang-19883979633
deepin
2021-11-30 09:30
#6
观摩

输入 python3,就可以使用自带的 python3.7.3。

不要卸载自带的 Python,其实是Python2,系统底层依赖他。

 

如果一定要用 Python3.8.x,可以使用pyenv、padavan 之类的

请问如何恢复python的默认调用,之前为了作业看了个教程把默认调用都删了,改成了3.8。现在装不了软件,找了好久也找不到改回去的教程,老师也不了解deepin的linux😭

Reply View the author
yang-19883979633
deepin
2021-11-30 09:30
#7
It has been deleted!
yang-19883979633
deepin
2021-11-30 09:31
#8
It has been deleted!
观摩
deepin
2021-12-01 00:00
#9
yang-19883979633

请问如何恢复python的默认调用,之前为了作业看了个教程把默认调用都删了,改成了3.8。现在装不了软件,找了好久也找不到改回去的教程,老师也不了解deepin的linux😭

你们老师如果了解Debian,Ubuntu怎么解决这个问题,那就可以搞定Deepin。

首先就是想办法安装Python2,然后把

/usr/bin/python
/usr/bin/python2

都软链接到你安装的Python2上。

实在搞不定,就重装

Reply View the author