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

Spinning up installation error #104

Open
tbadgwell opened this issue Jan 30, 2019 · 4 comments
Open

Spinning up installation error #104

tbadgwell opened this issue Jan 30, 2019 · 4 comments

Comments

@tbadgwell
Copy link

Working on a clean Ubuntu 18.04 LTS image I

  • Installed Anaconda 3.7
  • Reverted to 3.6 per their instructions (to avoid Tensorflow problem with 3.7)
  • Installed OpenMPI
  • Installed spinningup

The spinningup code did not install successfully (see attached log file and error file)
The spinningup test failed when the tensorflow module could not be imported (see attached file)

Any ideas on how I should proceed?
Thanks...

Spinningup install log.txt
[Spinning up install failures.txt](https:(https://github.com/openai/spinningup/files/2813215/Spinning.up.install.failures.txt)
Spinningup install test.txt

@tbadgwell
Copy link
Author

I've tried five different ways to get the combined Ananconda, OpenMPI, and spinningup code to install properly. This most likely due to my lack of experience with installing code on a linux machine. Still, it looks like the latest versions of these codes do not play well together.

Would it be possible for someone to post a clean Ubuntu image somewhere with all the code for spinningup installed properly? Seems like this would be a good way to make the code available.

Any help would be sincerely appreciated.

@knaggita
Copy link

knaggita commented Feb 4, 2019

Try sudo apt-get install python-mpi4py, and then try to install spinningup again
(git clone https://github.com/openai/spinningup.git
cd spinningup
pip install -e .)? Looks like after installing OpenMPI, mpi4py didn't install.

@dan9thsense
Copy link

Same issue here. Using a virtual environment with python 3.6. I tried sudo apt-get install python-mpi4py but it was already installed. However, the virtual environment seems unable to find it. Trying pip install mpi4py fails with the same errors.

@sandipan1
Copy link

conda install mpi4py works for me

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

4 participants