[
https://issues.apache.org/jira/browse/SPARK-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168787#comment-14168787
]
Andrew Davidson commented on SPARK-922:
---------------------------------------
Wow upgrading matplotlib was a bear. The following worked for me. The trick was
getting the correct version of the source code. The recipe bellow is not 100%
correct. I have not figured out how to use pssh with yum. yum prompts you y/n
before downloading
pip2.7 install six
pssh -t0 -h /root/spark-ec2/slaves pip2.7 install six
pip2.7 install python-dateutil
pssh -t0 -h /root/spark-ec2/slaves pip2.7 install python-dateutil
pip2.7 install pyparsing
pssh -t0 -h /root/spark-ec2/slaves pip2.7 install pyparsing
yum install yum-utils
wget https://github.com/matplotlib/matplotlib/archive/master.tar.gz
tar -zxvf master.tar.gz
cd matplotlib-master/
yum install freetype-devel
yum install libpng-devel
python2.7 setup.py build
python2.7 setup.py install
> Update Spark AMI to Python 2.7
> ------------------------------
>
> Key: SPARK-922
> URL: https://issues.apache.org/jira/browse/SPARK-922
> Project: Spark
> Issue Type: Task
> Components: EC2, PySpark
> Affects Versions: 0.9.0, 0.9.1, 1.0.0, 1.1.0
> Reporter: Josh Rosen
>
> Many Python libraries only support Python 2.7+, so we should make Python 2.7
> the default Python on the Spark AMIs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]