Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
关于更新python3.4.2
Experiences and Insight
682
views ·
4
replies ·
To
floor
Go
relaxchen
deepin
2015-02-24 02:37
Author
手动更新python3.4.2:
已正确安装python3.4.2,后利用RM和LN -S 指令修改/usr/bin/python,使其指向最近安装的python3.4.2而不是默认的python2.7,并可通过在终端中输入python正确进入python环境。
现在的问题是这样配置以后重启,然后再也无法打开终端、深度商店等一系列深度的应用,但是文件管理器、chrome、计算器、雷鸟邮件等一系列应用仍可正常运行。
求告知为什么会打不开终端和深度系列应用?
是不是因为都是依赖python2.7的应用,替换以后,这些软件不兼容python3,导致无法启动?
Reply
Like 0
Favorite
View the author
All Replies
Bluek404
deepin
2015-02-24 05:51
#1
你已经回答自己了
Reply
Like 0
View the author
coslyk
deepin
2015-02-24 20:20
#2
因为python3不向下兼容python2,替换了肯定有问题
Reply
Like 0
View the author
Feng Yu
deepin
2015-02-24 20:46
#3
系统的软连接不要乱替换。而且ubuntu,deepin,debian系统已经自带python3.4,在终端用python3启动即可。自己写脚本想指向python3的话写she-bang为#!/usr/bin/env python3即可
Reply
Like 0
View the author
relaxchen
deepin
2015-02-25 17:05
#4
了解了,谢谢。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
已正确安装python3.4.2,后利用RM和LN -S 指令修改/usr/bin/python,使其指向最近安装的python3.4.2而不是默认的python2.7,并可通过在终端中输入python正确进入python环境。
现在的问题是这样配置以后重启,然后再也无法打开终端、深度商店等一系列深度的应用,但是文件管理器、chrome、计算器、雷鸟邮件等一系列应用仍可正常运行。
求告知为什么会打不开终端和深度系列应用?
是不是因为都是依赖python2.7的应用,替换以后,这些软件不兼容python3,导致无法启动?