Details
-
Type:
Task
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: CDH3b3
-
Fix Version/s: None
-
Component/s: Docs
-
Labels:None
Description
On page https://docs.cloudera.com/display/DOC/Installing+the+CDH+Cloud+Scripts
I followed the instructions here, easy_install ran perfectly and I verified simplejson was installed correctly by dropping into the python REPL and importing it and calling it.
However, when I went to run the "hadoop-ec2" script it was telling me simplejson could not be found. very perplexing. Finally I thought to examine the script itself and noticed that at the top it is explicitly using python2.5:
#!/usr/bin/env python2.5
As of OS X snow leopard the default python is 2.6 which is also what easy_install puts its packages in, so, I had to run "easy_install-2.5" to get those packages installed correctly and for the script to work.
I would suggest adding a note/warning/errata on this page for snow leopard users.