Closed enedene closed 9 years ago
Hi enedene, I had a similar problem running this on CentOS, which has a version of python installed essentially as a system tool for the OS. I worked around it using anaconda (http://continuum.io/downloads). Anaconda creates a little virtual environment when you use the 'activate' command that aliases the desired python version as the 'python' command. Could you try installing anaconda's version of python2.7 and then running?
Hi Jasper, in the meantime I was able to get it running by not running setup.py, but setting up paths for the spearmint directly. But thanks for Anaconda suggestion, it would have made things easier.
I'm trying to run the noisy example on Arch Linux. Python 3 is default on Arch, so to run python 2, you need to run it with the command
python2
. So here is what I do:I get this SyntaxError:
I thought that at some point script was trying to run python scrpits with
python
command which would use python 3, so print without brackets wouldn't work. Changing the line to:doesn't fix the problem, so it must be something else.