python: error while loading shared libraries: libpython3.4m.so.1.pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.Python3.8.5で「ssl module in python is not available」.configure \ -with-ensurepip \ -enable-shared \ -enable-ipv6 \ -prefix =/usr/local/python3.9 \ & make \ & make altinstall Yum install -y devtoolset-7 & scl enable devtoolset-7 bash SCL will allow you to install newer versions of python 3.x alongside the default python v2.7. CentOS 7 ships with Python 2.7.5 which is a critical part of the CentOS base system. configure \ & make -j4 \ & make install #gccをインストール + 7系にスイッチ Installing Python 3 We’ll be installing Python 3.6 from the Software Collections (SCL) repositories. Yum install -y gdbm-devel xz-devel ncurses-devel readline-devel tk-devel uuid-devel openssl-devel Before we can compile the source packages for python 3.6, we need to make sure that we have all the dependencies installed on our system. Yum install -y kernel-devel kernel-headers bzip2-devel libdb-devel libffi-devel As Python 3.6 is still not available via default yum repositories, so there are two ways by which we can install Python 3.6 on Centos 7, 1- By compiling from source method.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |