openai / retro

Retro Games in Gym
MIT License
3.35k stars 524 forks source link

How to install gym-retro-integration UI for windows error :( #240

Open abdulazeemsikander opened 3 years ago

abdulazeemsikander commented 3 years ago

Issue summary

Hi, I am trying to follow and install gym-retro-integration UI for windows but when i install gym retro and try to execute this statement " pip3 install -e . " it returns me following error mentioned in the image attached error

System information

onaclov2000 commented 3 years ago

I ended up commenting out some pieces of the setup.py if you take a look at the issue about loading multiple roms. I won't claim it's the right way, but it worked for my needs

abdulazeemsikander commented 3 years ago

Can you please tell me which lines you commented and where is setup.py located? thanks

onaclov2000 commented 3 years ago

diff --git a/setup.py b/setup.py index fab566c..c6c2b91 100644 --- a/setup.py +++ b/setup.py @@ -11,25 +11,11 @@ VERSION_PATH = os.path.join(os.path.dirname(os.path.abspath(file)), 'VERSION SCRIPT_DIR = os.path.dirname(os.path.abspath(file)) README = open(os.path.join(SCRIPT_DIR, "README.md")).read()

-if not os.path.exists(os.path.join(os.path.dirname(file), '.git')):

onaclov2000 commented 3 years ago

setup.py is inside the retro repository it appears you downloaded.

onaclov2000 commented 3 years ago

I think just if you look in setup.py there is some stuff going on that appears to be checking what you have checked out and building that, but since I"m guessing you just cloned and didn't check out a tag/branch, that might be why it does it, I just commented it out, for better or worse.

realtechz commented 3 years ago

I think just if you look in setup.py there is some stuff going on that appears to be checking what you have checked out and building that, but since I"m guessing you just cloned and didn't check out a tag/branch, that might be why it does it, I just commented it out, for better or worse.

could you share the setup file you used. will be really useful thanks.