async-rl icon indicating copy to clipboard operation
async-rl copied to clipboard

Installation: ImportError: No module named 'ale_python_interface'

Open sahiliitm opened this issue 7 years ago • 1 comments

When I try to run the saved model as :

python demo_a3c_ale.py ../roms/breakout.bin trained_model/breakout_ff/80000000_finish.h5

I get an error :

ImportError: No module named 'ale_python_interface'

which is because python3.5 (which I am using now by default) does not have access to ALE. So I installed ALE but at the ale_python_interface step, that is when we have to execute

pip install --user .

I instead execute

python3.5 -m pip install --user .

since we want python3.5 to get access to ALE. This results in a syntax error since the ALE's python code still has python2.7 syntax. How do we fix this issue?

Thanks!

sahiliitm avatar Aug 01 '16 02:08 sahiliitm

pip3 install --user . is the right command.

sherjilozair avatar Oct 22 '16 21:10 sherjilozair