![]() ![]() The next logical step that you need to perform is to install the setup tools that allows you to install modules. #So best exit your current shell prompt and reopen ![]() #and them come back in to see the version changes. #Sometimes you may need to exit out of your shell Make install Exit from your shell and open a new shell/SSH session Use the command below to display which path of python is currently active #./configure –prefix=/opt/python2.7 –with-threads –enable-shared #you could also run configure with threads and shared enabled #read README file or you can follow the lines below #Download the latest available at this time Next download the latest tar/gzip/tgz available here: Yum -y install bzip2 bzip2-devel bzip2-libs Yum -y install openssl-devel* ncurses-devel* zlib*.x86_64 So here’s a short summary of what I did to upgrade my Python to 2.7 on CentOS.īased on a few Google searches… I discovered that a few dependent packages are required before you try upgrading to Python 2.7. If you tried upgrading to Python 2.7 on CentOS, you will quickly find out that the RPM’s don’t exist for this in the repos. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |