python colorama模块失效怎么办,Python安装不再工作,报告找不到模块

在尝试安装python-dev时遇到了问题,错误显示在安装过程中colorama、distlib、html5lib、setuptools和urllib3等模块的post-installation脚本返回了error exit status 1,原因是找不到time模块。尽管Python2.7.3已安装并能正常工作,但这个特定的模块安装问题阻碍了进一步的开发环境配置。
摘要由CSDN通过智能技术生成

我可能把python2.7.3的安装搞砸了。我已经能够设置并运行python2.7.3,所有导入都能正常工作。在

但是当我尝试安装python dev时,我得到了以下信息:ritwik@ritwik-pc:~$ sudo apt-get install python-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following NEW packages will be installed:

python-dev

0 upgraded, 1 newly installed, 0 to remove and 290 not upgraded.

5 not fully installed or removed.

Need to get 0 B/1,166 B of archives.

After this operation, 46.1 kB of additional disk space will be used.

Selecting previously unselected package python-dev.

(Reading database ... 168442 files and directories currently installed.)

Preparing to unpack .../python-dev_2.7.5-5ubuntu3_amd64.deb ...

Unpacking python-dev (2.7.5-5ubuntu3) ...

Processing triggers for man-db (2.6.7.1-1) ...

Setting up python-colorama (0

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值