Can't pip install vizdoom
Chetanbuye12 opened this issue · 6 comments
When I pip installed vizdoom, I get an error as "Command "python setup.py egg_info" failed with error code 1 in C:\Users\Admin\AppData\Local\Temp\pip-install-1fe7dcqa\vizdoom"
Any help or suggestion is highly appreciated.
just try getting the built binaries for python and put it in your Lib\site-packages of your python/anaconda and it'll work fine: https://github.com/mwydmuch/ViZDoom/releases
just try getting the built binaries for python and put it in your Lib\site-packages of your python/anaconda and it'll work fine: https://github.com/mwydmuch/ViZDoom/releases
Sir can you plz describe a step-by-step procedure to install it. I am nobby in this matter
for example, if you are using windows and anaconda and you have used default settings for installing, this will probably solve your problem :
1-download https://github.com/mwydmuch/ViZDoom/releases/download/1.1.5pre/ViZDoom-1.1.5pre-Win-Python36-x86_64.zip (you can get this from https://github.com/mwydmuch/ViZDoom/releases)
2-go to C:\ProgramData\Anaconda3\Lib\site-packages
3-unzip the downloaded file from step 1 and put it inside site-packages, you should have a file named vizdoom now
4-you will find a scenario folder in the vizdoom folder, copy basic.wfg and basic.wad which are inside the scenario folder and put them in the same folder as your code.py
5-Enjoy coding :D
p.s. the 4'th part is assuming you are trying to play the basic mission, I assumed that because there are multiple q-learning posts on this mission
for example, if you are using windows and anaconda and you have used default settings for installing, this will probably solve your problem :
1-download https://github.com/mwydmuch/ViZDoom/releases/download/1.1.5pre/ViZDoom-1.1.5pre-Win-Python36-x86_64.zip (you can get this from https://github.com/mwydmuch/ViZDoom/releases)
2-go to C:\ProgramData\Anaconda3\Lib\site-packages
3-unzip the downloaded file from step 1 and put it inside site-packages, you should have a file named vizdoom now
4-you will find a scenario folder in the vizdoom folder, copy basic.wfg and basic.wad which are inside the scenario folder and put them in the same folder as your code.py
5-Enjoy coding :D
p.s. the 4'th part is assuming you are trying to play the basic mission, I assumed that because there are multiple q-learning posts on this mission
I am facing the same issue and I tried following the steps you have outlined but it still isn't working
I got this to work by installing the Linux subsystem in Windows and pip installing vizdoom after cloning the repo to my machine directly
https://stackoverflow.com/questions/50667565/how-to-install-vizdoom-using-google-colab
If you're using Colab.