今天lean大的ubuntu里需要装一个,
我的安装错误提示如下:
try@try-Parallels-Virtual-Platform:~$ sudo apt-get -y install python3.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3.5 : Depends: libpython3.5-stdlib (= 3.5.2-2ubuntu0~16.04.9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我就再安装
try@try-Parallels-Virtual-Platform:~$ sudo apt-get -y install libpython3.5-stdlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpython3.5-stdlib : Depends: libreadline6 (>= 6.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
接着安装
try@try-Parallels-Virtual-Platform:~$ sudo apt-get -y install libreadline7
Reading package lists... Done
Building dependency tree
Reading state information... Done
libreadline7 is already the newest version (7.0-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
死活不成功,我把libreadline7卸载掉,哭了,好多软件自动卸载没了,浏览器也没了,安装libreadline6,提示找不到,又重新装回libreadline7,还是无法安装python3.5,求助呀
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,并且积分可能会被清零,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|