install apport through the source code

Asked by wangdh

Hi:
I have got the source code in this site ,and I want to upgrade apport in my ubuntu system ,but when try to install it using command “python setup.py install”,there is a lot errors ,like this:
ERROR: Python module chardistribution not found
ERROR: Python module mbcssm not found
ERROR: Python module charsetprober not found
ERROR: Python module codingstatemachine not found
ERROR: Python module mbcssm not found
I have installed the python-distutils-extra package,how to solve this?
I am expecting someone's help ,thanks a lot.

Question information

Language:
English Edit question
Status:
Answered
For:
Apport Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Maybe the commands

sudo apt-get install build-essential
sudo apt-get build-dep apport

install the missing packages.

The listed modules seem to be provided by python(3)-chardet, so maybe you could try installing that manually (sudo apt-get install python-chardet python3-chardet), if the commands above do not help.

Can you help with this problem?

Provide an answer of your own, or ask wangdh for more information if necessary.

To post a message you must log in.