ubuntu下载安装python3_ubuntu16.04安装python3的包报错

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

Reading package lists... Done

Building dependency tree

Reading state information... Done

python-scipy is already the newest version (0.17.0-1).

0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.

2 not fully installed or removed.

After this operation, 0 B of additional disk space will be used.

Do you want to continue? [Y/n] Y

Setting up python-decorator (4.0.6-1) ...

Traceback (most recent call last):

File "/usr/bin/pycompile", line 35, in

from debpython.version import SUPPORTED, debsorted, vrepr, \

File "/usr/share/python/debpython/version.py", line 24, in

from ConfigParser import SafeConfigParser

ImportError: No module named 'ConfigParser'

dpkg: error processing package python-decorator (--configure):

subprocess installed post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of python-scipy:

python-scipy depends on python-decorator; however:

Package python-decorator is not configured yet.

dpkg: error processing package python-scipy (--configure):

dependency problems - leaving unconfigured

No apport report written because the error message indicates its a followup error from a previous failure.

Errors were encountered while processing:

python-decorator

python-scipy

N: Ignoring file 'google-chrome.list.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

N: Ignoring file 'google-chrome.list.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

E: Sub-process /usr/bin/dpkg returned an error code (1)

求解 在网上看了下似乎是python的配置还是2的 可是要用3去写,所以有什么解决的方法吗?非常感谢了!!!!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值