循环依赖,这个怎么破?
Tofloor
poster avatar
soenter
deepin
2016-10-28 23:56
Author
循环依赖,这个怎么破?
Reply Favorite View the author
All Replies
avatar
soenter
deepin
2016-10-29 00:02
#1
sudo apt-get -f install 的截图
Reply View the author
avatar
soenter
deepin
2016-10-29 00:03
#2
今天更新系统后,安装失败,发现搜狗输入法不能用了https://bbs.deepin.org/user/48640
Reply View the author
avatar
jingle
deepin
2016-10-29 00:10
#3
https://bbs.deepin.org/post/45001
今天更新系统后,安装失败,发现搜狗输入法不能用了@jingle

你是内测用户吧,内测源删除了吗?
Reply View the author
avatar
soenter
deepin
2016-10-29 00:12
#4
wo kan yi xia
Reply View the author
avatar
Island
deepin
2016-10-29 00:14
#5
sudo apt-get install python=2.7.11-2 python-all=2.7.11-2 python-all-dev=2.7.11-2 python-dev=2.7.11-2
Reply View the author
avatar
soenter
deepin
2016-10-29 00:14
#6
这是不是内测源吧?
Reply View the author
avatar
soenter
deepin
2016-10-29 00:15
#7
https://bbs.deepin.org/post/45001
sudo apt-get install python=2.7.11-2 python-all=2.7.11-2 python-all-dev=2.7.11-2 python-dev=2.7.11-2

还是不行
Reply View the author
avatar
soenter
deepin
2016-10-29 00:20
#8
https://bbs.deepin.org/post/45001
你是内测用户吧,内测源删除了吗?

拼音输入发在chrome里边不可以用,在别的地方可以
Reply View the author
avatar
Island
deepin
2016-10-29 00:20
#9
sudo apt-get update && sudo apt-get install libpython-stdlib=2.7.11-2 libpython-all-dev=2.7.11-2 libpython-dev=2.7.11-2
Reply View the author
avatar
soenter
deepin
2016-10-29 00:24
#10
https://bbs.deepin.org/post/45001
sudo apt-get update && sudo apt-get install libpython-stdlib=2.7.11-2 libpython-all-dev=2.7.11-2 lib ...

执行也不行
Reply View the author
avatar
liujianfeng
deepin
2016-10-29 00:34
#11
不知道你这个 /usr/local/lib/python2.7/struct.py是哪里来的,debian里面的py包都是没有这个路径的
删掉应该就可以了
Reply View the author
avatar
soenter
deepin
2016-10-29 00:45
#12
https://bbs.deepin.org/post/45001
不知道你这个 /usr/local/lib/python2.7/struct.py是哪里来的,debian里面的py包都是没有这个路径的
删掉应 ...

不行的..........................
Reply View the author
avatar
Island
deepin
2016-10-29 00:53
#13
/usr/local/lib/python2.7/  看了下 这个目录确实没有这些报错文件,你是自己安装了什么插件吗?
Reply View the author
avatar
liujianfeng
deepin
2016-10-29 00:54
#14
https://bbs.deepin.org/post/45001
不行的..........................

/usr/local/lib/python2.7/底下的一堆文件都是跟 /usr/lib/python2.7 冲突的,有重复的删掉
报错里面提到的runpy.py, struct.py都是应该在/usr/lib/python2.7
我的/usr/local/lib/python2.7/ 只有
dist-packages  site-packages两个目录
Reply View the author
avatar
soenter
deepin
2016-10-29 00:59
#15
https://bbs.deepin.org/post/45001
/usr/local/lib/python2.7/  看了下 这个目录确实没有这些报错文件,你是自己安装了什么插件吗? ...

之前折腾过,我已经把/usr/local/lib/python2.7/ 备份成/usr/local/lib/python2.7.bak了
Reply View the author
avatar
soenter
deepin
2016-10-29 01:17
#16
https://bbs.deepin.org/post/45001
/usr/local/lib/python2.7/底下的一堆文件都是跟 /usr/lib/python2.7 冲突的,有重复的删掉
报错里面提到 ...

现在改报这个错了
Reply View the author
avatar
liujianfeng
deepin
2016-10-29 01:29
#17
https://bbs.deepin.org/post/45001
现在改报这个错了

sudo ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/
Reply View the author
avatar
soenter
deepin
2016-10-29 01:33
#18
https://bbs.deepin.org/post/45001
sudo ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/

看着好危险,我试一下吧
Reply View the author
avatar
soenter
deepin
2016-10-29 01:35
#19
https://bbs.deepin.org/post/45001
sudo ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/

报另一个错了
Reply View the author
avatar
liujianfeng
deepin
2016-10-29 17:23
#20
你的py环境挂掉了
参考 http://unix.stackexchange.com/qu ... n-managing-packages 看看吧
Reply View the author