Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Python 2.7.3 installation in centos

Python build finished, but the necessary bits to build these modules were not found:
bsddb185           dl                 imageop         
sunaudiodev                                           
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
_sqlite3           bz2  

please provide the solution

share|improve this question

migrated from stackoverflow.com Mar 23 '13 at 19:14

This question came from our site for professional and enthusiast programmers.

1 Answer 1

You should install some packages before running the Python configuration.

I would not worry about bsddb185, dl, imageop and 'sunaudiodev' as they are deprecated since 2.6, and you probably do not need them.

However sqlite3 and bz2 are often used by other packages and for those you need to install libsqlite3-dev resp. libbz2-dev and then rerun Python's configure and rebuild.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.