Open abdulazeemsikander opened 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
Can you please tell me which lines you commented and where is setup.py located? thanks
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')):
use_scm_version = False
shutil.copy('VERSION', 'retro/VERSION.txt') -else:
def version_scheme(version):
with open(VERSION_PATH) as v:
version_file = v.read().strip()
if version.distance:
version_file += '.dev%d' % version.distance
return version_file
def local_scheme(version):
v = ''
if version.distance:
v = '+' + version.node
return v
use_scm_version = {'write_to': 'retro/VERSION.txt',
'version_scheme': version_scheme,
'local_scheme': local_scheme} +#if not os.path.exists(os.path.join(os.path.dirname(file), '.git')): +use_scm_version = False +shutil.copy('VERSION', 'retro/VERSION.txt')
setup.py is inside the retro repository it appears you downloaded.
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.
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.
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](https://user-images.githubusercontent.com/61617367/118630684-31c19d00-b7e8-11eb-9a4b-f39fefc96388.PNG)
System information