Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Upgrading Python in Cloudera Quick Start VM

Upgrading Python in Cloudera Quick Start VM

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
Highlighted

Re: Upgrading Python in Cloudera Quick Start VM

Expert Contributor

@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/

Don't have an account?
Coming from Hortonworks? Activate your account here