Created on 06-02-2016 08:00 AM - edited 09-16-2022 03:23 AM
I am trying to set up ipython notebook as per mentioned in tutorial http://hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/ However, while trying to install python 2.7, facing error as "No package python27 available".
Whereas while checking in they system there is already python 2.6.6 is installed. During search over google, found that its not feasible to install python 2.7 over 2.6.6 on HDP, as it may hamper the whole core set up. NOT SURE if its correct!
I am attaching snapshot for more reference on this. Can anyone please help me in resolving this issue?
Thank you in advance for your help.
Created 06-02-2016 02:14 PM
Hi @Amol Y
Ahhh, nothing like reading a tutorial that has an invalid step (it drives me crazy). Sorry about that. I found a fix and verified it worked at https://www.softwarecollections.org/en/scls/rhscl/python27/ - simply first run:
yum install centos-release-scl
this will install a few necessary packages that contain python27, and then run:
yum install python27
I'll see if I can get this tutorial updated.
Created 06-02-2016 02:14 PM
Hi @Amol Y
Ahhh, nothing like reading a tutorial that has an invalid step (it drives me crazy). Sorry about that. I found a fix and verified it worked at https://www.softwarecollections.org/en/scls/rhscl/python27/ - simply first run:
yum install centos-release-scl
this will install a few necessary packages that contain python27, and then run:
yum install python27
I'll see if I can get this tutorial updated.
Created 06-02-2016 02:35 PM
Great find Ryan. Let's see if we can get that added to the tutorial.
Created 06-02-2016 02:51 PM
Thanks @Ryan Cicak It worked out perfectly for me...
@Timothy Spann : One more defect I found in the same tutorial, its mentioned to download "ez_setup.py" using command "wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py"
However, setuptools repo url is changed now. The new repo url is wget https://bootstrap.pypa.io/ez_setup.py
I able to download the ex_setup.py successfully from the new repo url.
Thanks once again Ryan and Timothy
Created 06-12-2016 01:59 AM
Updated tutorial:
1) using centos-release-scl 2) wget https://bootstrap.pypa.io/ez_setup.py Thanks!