package python-bs4 4.4.1-1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
beautifulsoup4 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
sorry ,i don't know , but this always alert to me.please help me ,thank you!
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python-bs4 4.4.1-1
ProcVersionSign
Uname: Linux 4.8.0-49-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Mon May 1 22:15:15 2017
ErrorMessage: 子进程 已安装 post-installation 脚本 返回错误状态 1
InstallationDate: Installed on 2017-04-29 (7 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: beautifulsoup4
Title: package python-bs4 4.4.1-1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 1
UpgradeStatus: No upgrade log present (probably fresh install)
From DpkgTerminalLog .txt:
Setting python-bs4 (4.4.1-1) ... python/ debpython/ version. py", line 24, in <module>
Traceback (most recent call last):
File "/ usr / bin / pycompile", line 35, in <module>
From debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/
From ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
Dpkg: Error handling the package python-bs4 (--configure):
The child process has been installed post-installation script returns error state 1
In a test LXD environment, python-bs4 installs file. Did you by any chance change the default version of python on your system to python3?