Import Error
Traceback (most recent call last):
File "main.py", line 10, in <module>
from baselines.common.mpi_fork import mpi_fork
ImportError: No module named mpi_fork
How can I fix this problem? THX.
Install from source
Clone the repo, move into it and do pip install -e .
I've tried installing from source. Used Virtual env and tried using the same process on Mac and Ubuntu. Error occured only on Ubuntu. Using Python version 3.4.
Any other reason for the error?
Hi @VSNanditha! Could you post the full stacktrace of the error here? Thanks!
This trace is when I run train_cartpole from the sample experiments of deepq.
$ python train_cartpole.py
Traceback (most recent call last):
File "train_cartpole.py", line 3, in <module>
from baselines import deepq
ImportError: No module named 'baselines'
I think i need to make changes to init.py but I did the same steps in my Mac and it works fine without any changes to the init files.