Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to install on Centos #63

Open
yreme opened this issue Dec 7, 2016 · 1 comment
Open

fail to install on Centos #63

yreme opened this issue Dec 7, 2016 · 1 comment

Comments

@yreme
Copy link

yreme commented Dec 7, 2016

It seems rllab only support mac os and ubuntu. How to install it on centos server?

./scripts/setup_linux.sh

#!/bin/bash
# Make sure that conda is available

hash conda 2>/dev/null || {
    echo "Please install anaconda before continuing. You can download it at https://www.continuum.io/downloads. Please use the Python 2.7 installer."
    exit 0
}

echo "Installing system dependencies"
echo "You will probably be asked for your sudo password."
sudo apt-get update
sudo apt-get install -y python-pip python-dev swig cmake build-essential
sudo apt-get build-dep -y python-pygame
sudo apt-get build-dep -y python-scipy

# Make sure that we're under the directory of the project
cd "$(dirname "$0")/.."

echo "Creating conda environment..."
conda env create -f environment.yml
conda env update

echo "Conda environment created! Make sure to run \`source activate rllab3\` whenever you open a new terminal and want to run programs under rllab."
@dementrock
Copy link
Member

I don't have a CentOS environment at hand. Most of the dependencies should just work and you probably need to replace apt-get by yum. You can start by just installing the conda dependencies and it should tell you if you are missing anything. Let me know if you run into any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants