openai / doom-py

ViZDoom Python wrapper
MIT License
75 stars 44 forks source link

Import Error #9

Closed zergylord closed 7 years ago

zergylord commented 7 years ago

The README doesn't explicitly give installation instructions, but installing via the standard pip3 install -e . doesn't produce any errors. However, attempting to import doom_py fails with the following error:

Traceback (most recent call last): File "", line 1, in File "/home/zergylord/doom-py/doom_py/init.py", line 1, in from doom_py.vizdoom import * ImportError: No module named 'doom_py.vizdoom'

I'm guessing I'm simply missing some step in the installation process that installs vizdoom, what should I do?

tlbtlbtlb commented 7 years ago

You also have to build it:

python setup.py build   # (or python3)
pip install -e .        # (or pip3)

TODO: mention that in the README.

zergylord commented 7 years ago

Thanks, missed the build step!

josephborrego commented 5 years ago

thank you trevor!

Neel-Gupta commented 5 years ago

I am on Windows 10 and a rookie. Could anyone pls tell how to build it in Win10 ? I am having the error : Traceback (most recent call last): File "C:/Users/neelg/PycharmProjects/Q_learning/venv/Scripts/Code.py", line 3, in <module> import vizdoom ImportError: No module named 'vizdoom'

josephborrego commented 4 years ago

I couldn't get it to work on Windows, I used ubuntu linux