我想在HDP 2.2中使用Ipython和Spark,但似乎ipython仅支持从python 2.7。 我已经安装了Spark并进行了很好的测试,但是在使用yum命令安装ipython之后,python版本出现问题。如何使用Spark和Python更新HDP 2.2中的python 2.7
[[email protected] spark12]# ipython
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
Type "copyright", "credits" or "license" for more information.
IPython 0.13.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
IPython的单独运行,但是当我试图用pyspark使用它:
[[email protected] spark12]# IPYTHON=1 ./bin/pyspark
IPython requires Python 2.7+; please install python2.7 or set PYSPARK_PYTHON
我想知道如何更新蟒蛇2.6〜2.7。看来系统阻止我卸载python 2.6。我的感觉是,Python与hadoop系统集成在一起,很难单独更新。