nicrusso7 / rex-gym

OpenAI Gym environments for an open-source quadruped robot (SpotMicro)
Apache License 2.0
973 stars 130 forks source link

Installation error #3

Closed RobertSWagoner closed 4 years ago

RobertSWagoner commented 4 years ago

firstly, well done on what I have read so far. I am trying to install and followed your instructions, however I received an error: pip install rex_gym Collecting rex_gym Using cached https://files.pythonhosted.org/packages/98/1c/6d979037d598d3ddd410908eba0bbcf76b464ebd22143a8d9682c3a9af26/rex_gym-0.1.7.tar.gz ERROR: Command errored out with exit status 1: command: 'C:\Users\user.conda\envs\rex\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-jqupm9ki\rex-gym\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-jqupm9ki\rex-gym\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-install-jqupm9ki\rex-gym\pip-egg-info' cwd: C:\Users\user\AppData\Local\Temp\pip-install-jqupm9ki\rex-gym\ Complete output (9 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\user\AppData\Local\Temp\pip-install-jqupm9ki\rex-gym\setup.py", line 37, in '': [f for f in copy_assets('policies')] + [a for a in copy_assets('util')] File "C:\Users\user\AppData\Local\Temp\pip-install-jqupm9ki\rex-gym\setup.py", line 37, in '': [f for f in copy_assets('policies')] + [a for a in copy_assets('util')] File "C:\Users\user\AppData\Local\Temp\pip-install-jqupm9ki\rex-gym\setup.py", line 16, in copy_assets yield os.path.join(dirpath.split('/', 1)[1], f) IndexError: list index out of range

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Have you see this error before? I hope you can help, looking forward to reviewing.

--RW

nicrusso7 commented 4 years ago

hello! thanks! regarding your issue, are you running it into a python3 virtual environment? looks like you are on Windows, it may be an issue in the setup.py. I'll try to install it on a win machine, thanks for pointing out this!

RobertSWagoner commented 4 years ago

Thanks, keep me posted.

--RW

On 1/18/2020 9:39 AM, Nicola Russo wrote:

hello! thanks! regarding your issue, are you running it into a python3 virtual environment? looks like you are on Windows, it may be an issue in the setup.py. I'll try to install it on a win machine, thanks for pointing out this!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nicrusso7/rex-gym/issues/3?email_source=notifications&email_token=AEMOLIP62JOZ7P4OU6BFX53Q6MWCXA5CNFSM4KIBSE6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJJ4O7Q#issuecomment-575915902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMOLIINV7IUX5SAE7S7XH3Q6MWCXANCNFSM4KIBSE6A.

RobertSWagoner commented 4 years ago

Yes, I used Anaconda 64bit on Windows 10 Pro following your installation steps.

--RW

On 1/18/2020 9:39 AM, Nicola Russo wrote:

hello! thanks! regarding your issue, are you running it into a python3 virtual environment? looks like you are on Windows, it may be an issue in the setup.py. I'll try to install it on a win machine, thanks for pointing out this!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nicrusso7/rex-gym/issues/3?email_source=notifications&email_token=AEMOLIP62JOZ7P4OU6BFX53Q6MWCXA5CNFSM4KIBSE6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJJ4O7Q#issuecomment-575915902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMOLIINV7IUX5SAE7S7XH3Q6MWCXANCNFSM4KIBSE6A.

RobertSWagoner commented 4 years ago

Update! I had the opportunity to update my MacBook Pro laptop and then installed Anaconda 64bit and the simulations work. Let me know what you find on Windows 10 since that would be good as well.

nicrusso7 commented 4 years ago

Hey @RobertSWagoner, the new version should resolve your issue :) please let me know if this works for you!

RobertSWagoner commented 4 years ago

Working good. Thank you.