Sep-30-2017, 05:15 PM
I'm getting the following when trying to install Python 3.6.2 on RHEL 6.7/ CentOS 6.7:
Python build finished successfully! The necessary bits to build these optional modules were not found: _lzma _sqlite3 _ssl _tkinter To find the necessary bits, look in setup.py in detect_modules() for the module's nameSo I look in setup.py, and find that I need sqlite3.h and ssl.h. However, it's not clear to me on which libraries for tkinter and lzma are needed. From setup.py:
# LZMA compression support. if self.compiler.find_library_file(lib_dirs, 'lzma'): exts.append( Extension('_lzma', ['_lzmamodule.c'], libraries = ['lzma']) ) else: missing.append('_lzma') ... # Call the method for detecting whether _tkinter can be compiled self.detect_tkinter(inc_dirs, lib_dirs) if '_tkinter' not in [e.name for e in self.extensions]: missing.append('_tkinter') ...I'm trying to find which library files are needed, to find what RPMs I need to install. Any thoughts?