Sudo yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel expat-develĮven after that I still get: The following modules found by detect_modules() in setup. # Libraries needed during compilation to enable all features of Python: This post mentions that some more are required (which I retrospectively added above): sudo yum install yum-utils The following modules found by detect_modules() in setup.py, have beenīuilt by the Makefile instead, as configured by the Setup files: There may be a warning after running make: The necessary bits to build these optional modules were not found: Yum install zlib-devel gcc openssl-devel bzip2-devel libffi-devel xz-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel expat-devel Compile python cd /opt It is very annoying Install Prerequisites yum groupinstall development Attempting to use lzma compression will result in a RuntimeError. Recently I got this warning: Could not import the lzma module. Other things need the gcc compiler and such. Follow the steps below to install Pip3 for Python 3. You will always get issues like Pip not being able to access pypi because the openssl module was not installed. What are the prerequisite packages for a complete python3 compilation install?
0 Comments
Leave a Reply. |