Cannot even install / setup VizDoom, help please.

2,005 views
Skip to first unread message

FourEyedGeek

unread,
Jan 27, 2017, 6:20:06 AM1/27/17
to Visual Doom AI Users
Hello all,

New to VizDoom and new to Python, I'm trying to install VizDoom via the easiest method and I am struggling to succeed. Any advice please.

- I installed Python 2.7.13 (32 bit) and Python 3.5.3 (64 bit), path is correct and tested for Python 3.5.
- I downloaded and extracted: ViZDoom-1.1.0-Win-Python35-x86_64.zip
- I tried running Basic.py to get error "No module named vizdoom"
- I tried to install vizdoom as module to get error "Building pip package on Windows is not currently available"
- I installed Visual Studio Community 2015
- I installed CMake 2.8+
- I installed Boost libraries
- I installed JDK
- I installed Numpy but not Boost.Python (not sure how)
- I ran YASM (no feedback)
- I installed FMOD despite Windows warning me
- I downloaded and extract ViZDoom-master.zip
- I ran CMAKE+ using Source Code from ViZDoom-master and error message appeared "Project files may be invalid.

So I'm stuck and I've installed a bunch of applications to my computer to get it to work. To attempt to get this to work I downloaded VirtualBox, the latest version of Ubuntu and tried the process on Linux, but I'm struggling there too as I'm learning Linux at the same time.

Can anyone help me?

Thank you

FourEyedGeek

unread,
Jan 27, 2017, 6:23:44 AM1/27/17
to Visual Doom AI Users
Just to add, I'm also new to GitHub and when I compile my programs its usually in the same IDE and I select compile so I'm trying learn several things at once here but I'm interested in this subject matter.

Wojciech Jaskowski

unread,
Jan 27, 2017, 6:35:32 AM1/27/17
to FourEyedGeek, Visual Doom AI Users
Compiling on Windows is hard. We recommend using the binaries on Windows: https://github.com/Marqt/ViZDoom#windows-build


--
Wojciech Jaśkowski, Ph.D.
Laboratory of Intelligent Decision Support Systems
Institute of Computing Science
Poznan University of Technology, Poland
http://www.cs.put.poznan.pl/wjaskowski

--
You received this message because you are subscribed to the Google Groups "Visual Doom AI Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vizdoom+unsubscribe@googlegroups.com.
To post to this group, send email to viz...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vizdoom/ee088eaf-a26a-464e-8972-b161fcf22512%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

FourEyedGeek

unread,
Jan 28, 2017, 3:13:58 AM1/28/17
to Visual Doom AI Users
Hello Wojciech,

That is something I tried first, I got the error message "No module named vizdoom" so I've done something wrong but I don't know what it is.

Thanks
To unsubscribe from this group and stop receiving emails from it, send an email to vizdoom+u...@googlegroups.com.

Michał Kempka

unread,
Jan 28, 2017, 6:09:14 AM1/28/17
to Visual Doom AI Users
Could you describes exactly how you tackled this? It seems that vizdoom.pyd (r a link to it) wasn't present in the directory when you ran the script.
Message has been deleted

FourEyedGeek

unread,
Jan 28, 2017, 6:45:53 AM1/28/17
to Visual Doom AI Users
Hello Michal,

I've attempted multiple things but here is a rough idea.
1) Installed Python 3.5 to D:\Python\Python35\ and rebooted.
2) Download and extracted VizDoom-1.1.0-Win-Python35-x86_64.zip to D:\VizDoom-1.1.0-Win-Python35-x86_64\
3) From D:\VizDoom-1.1.0-Win-Python35-x86_64\vizdoom\ copied freedom2.wad to D:\VizDoom-1.1.0-Win-Python35-x86_64\scenarios\
4) CMD window at D:\ViZDoom-1.1.0-Win-Python35-x86_64\examples\python\ I ran command Basic.py to receive following error: "No module named vizdoom"
5) I then try to use pip to install ViZDoom but I get the error message: Building pip package on Windows is not currently available ...

I then try to compile my own version, but I believe the pre-compiled versions should be easy to install.

I deleted my post as I couldn't see an option to edit.

Michał Kempka

unread,
Feb 2, 2017, 11:07:21 AM2/2/17
to Visual Doom AI Users
You should have vizdoom.pyd prezent or linked in the directory where you use it. We'll try to make the pip package for windows soon.

FourEyedGeek

unread,
Feb 2, 2017, 10:43:15 PM2/2/17
to Visual Doom AI Users
Thanks Michal, I'm very interested in this but I have nearly no knowledge on Python or Linux, so a PIP for Windows would help people like me out.

I was hoping to learn Python with this while looking at automation from another angle.

dr.adi...@gmail.com

unread,
Apr 28, 2017, 10:50:45 PM4/28/17
to Visual Doom AI Users
Hello Everyone !
Please can someone upload the complete installation steps of VizDoom on Windows? i will be very thankful.

ali.w...@gmail.com

unread,
Aug 29, 2017, 9:54:39 AM8/29/17
to Visual Doom AI Users
So did someone get vizdoom to work on Windows? If yes how? Htanks so much for your help!

Anssi "Miffyli" Kanervisto

unread,
Aug 29, 2017, 1:08:23 PM8/29/17
to Visual Doom AI Users
This works for me but it might be against the very fabric of Python-sanity itself:

1) Download pre-built windows package from Github here: https://github.com/mwydmuch/ViZDoom#windows-build
2) Extract it where-ever you like to store your VizDoom stuff
3) Copy contents of "vizdoom" directory to "[python install dir]\Lib\site-packages". E.g "C:\Python35\Lib\site-packages"
4) Open Python and try following:

import vizdoom
game = vizdoom.DoomGame()
game.init()

If this works, then your vizdoom installation should work fine.

rodolphe...@gmail.com

unread,
Dec 29, 2017, 10:28:23 AM12/29/17
to Visual Doom AI Users
Hi Michal,

I have followed the install recipe step by step: https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md

...but have the same problem when running "basic.py" => module "vizdoom" not found. More specifically, in bin/pythonX.X/

I have vizdoom.cpython-36m-x86_64-linux-gnu.so but "vizdoom.pyd" is missing...

What step do I need to re-do? (have seen some error messages in the install with fmod, sndFile, MPG123)

Thanks

Rodolphe
Reply all
Reply to author
Forward
0 new messages