Support Questions

Find answers, ask questions, and share your expertise

Upgrading Python in Cloudera Quick Start VM

avatar
New Contributor

How to upgrade the python to the latest version i.e Python 3+  in cloudera quick start vm ? Please help me with the steps to perform the same

 

Thanks & Regards

 P Suresh Rao

1 REPLY 1

avatar
Master Guru

@P_Suresh_Rao The reason on your ask is as per my guess is that QuickStart VM don't have internet access. 

If yes then you can download packages externally and then copy into QuickStart and install something like:

$ sudo yum update
$ sudo yum install yum-utils

You can then install the CentOS IUS package which will get you up to date with their site:

$ sudo yum install https://centos7.iuscommunity.org/ius-release.rpm

Finally you can then install Python and Pip:

$ sudo yum install python36u
$ sudo yum install python36u-pip

If the QuickStart have internet access then you can just update Python like any other packages with yum update command.

https://developers.redhat.com/blog/2018/08/13/install-python3-rhel/


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.