系统什么时候把python升级到3以上
Tofloor
poster avatar
parker-chen
deepin
2020-10-31 21:31
Author

python2都已经停止更新,马上就不在支持了,可为什么deepin还是默认安装2,在市场里没没有找到python 3

Reply Favorite View the author
All Replies
Maicss
deepin
2020-10-31 21:45
#1

两者不冲突,想使用python3就直接终端输入python3即可

默认是两个都有的。

Reply View the author
忘记、过去
Moderator
2020-10-31 22:45
#2

python2 和 3 都是系统底层,macOS 里面也是这样子的。

真的想追新的话上 anaconda 隔离环境,不要随便升级这种底层。

Reply View the author
冷风
deepin
2020-10-31 23:55
#3

Arch Linux 现在python2已经去掉大部分,只剩下67个在官方源,深度可能完全升到 python3 要下个大版本了,现在也能直接使用 python3,不用 pyhton2 的东西就行。

Reply View the author
SamLukeYes
deepin
2020-10-31 23:57
#4

python2 虽然已经停止支持了,但暂时还无法完全淘汰,连 arch 的官方仓库都还保留着 python2 呢

Reply View the author
SamLukeYes
deepin
2020-11-01 00:01
#5

不过看你这么一说,我试着把 manjaro 的 python2 卸了,好像并没有什么大问题[开心]

Reply View the author
parker-chen
deepin
2020-11-01 00:31
#6

真是开心 ,原来,deepin本身集成了python 3.7.3 太好了 

Reply View the author
element
deepin
2020-11-01 02:47
#7

这些都应该是向下兼容的吧

Reply View the author
Hello
deepin
2020-11-01 03:36
#8

python3

Reply View the author
173******79
deepin
2020-11-01 20:13
#9

2是2,3是3

Reply View the author
zuer8969
deepin
2020-11-03 06:53
#10

下载了python3.9.0,不知道怎么升级安装,有大神指导下吗?

Reply View the author
SamLukeYes
deepin
2020-11-03 07:33
#11
zuer8969

下载了python3.9.0,不知道怎么升级安装,有大神指导下吗?

不要自作主张替换系统的 python 版本。虽说用官网的源码包安装新版本也可以与系统原有的版本共存,但还是建议用 miniconda 来管理多个 python 版本。

Reply View the author
SamLukeYes
deepin
2020-11-03 07:33
#12
element

这些都应该是向下兼容的吧

python3 还真不向下兼容 python2[尾]

Reply View the author
zuer8969
deepin
2020-11-04 04:53
#13
SamLukeYes

不要自作主张替换系统的 python 版本。虽说用官网的源码包安装新版本也可以与系统原有的版本共存,但还是建议用 miniconda 来管理多个 python 版本。

谢谢回复!

Reply View the author
神末shenmo
Moderator
Spark-App
2020-11-04 05:07
#14
sy120zx@sy120zx-PC:~$ python3 --version
Python 3.7.3


[尾]

Reply View the author