hungtuchen / pytorch-dqn

Deep Q-Learning Network in pytorch (not actively maintained)
MIT License
385 stars 108 forks source link

ImportError: No module named 'openai_benchmark' #10

Open jixian79 opened 6 years ago

jixian79 commented 6 years ago

ubuntu 16.04 python3.5 anaconda installed gym refered https://github.com/openai/gym instruction. but when i run your code

Traceback (most recent call last): File "/home/op/pytorch-dqn-master/main.py", line 3, in import openai_benchmark ImportError: No module named 'openai_benchmark'

i found in the search engine, someone runs dir(gym),the result contains 'benchmark_spec', 'benchmarks', but none on my pc.

Ougui9 commented 6 years ago

gym should be of version 0.9.5, since the later ones removed benchmarks

ebimor commented 6 years ago

Thank you Ougui9 :+1:

WonderSeven commented 6 years ago

how could i run your code if i use gym in new version?

MRzNone commented 3 years ago

Follow up on running with newer gym. I tried to bypass "benchmark," but I cannot get through the skip frame check.