-
Notifications
You must be signed in to change notification settings - Fork 314
Closed
Labels
Description
All I want to do is install python 3.4 on a cfncluster. But when I do the following, the cluster starts up, and no python3 command works. If I run the code from the pyinstall.sh directly on the machine, it runs, but the effects don't propagate to the other compute nodes.
[cluster default]
key_name = ubuntu
vpc_settings = test
post_install = https://<domain>.s3.amazonaws.com/pyinstall.sh
#!/bin/bash
# Install Python and dependencies
sudo yum -y install --enablerepo=epel yum-utils python34 python34-setuptools
sudo easy_install-3.4 pip
sudo python3 -m pip install keras tensorflow scoop ipython sklearn deap
# Install Sklearn-deap
git clone https://github.com/ryanpeach/sklearn-deap.git
cd sklearn-deap
git checkout better-parallel
sudo python3 setup.py installI've commented out everything except the first line and that still doesn't install anything.
I've removed the sudo's and that doesn't solve anything.
Any idea why this doesn't work?