Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get errors when i try to install gym-retro how do i solve this issues #261

Open
flowerboy9 opened this issue Feb 27, 2022 · 4 comments
Open

Comments

@flowerboy9
Copy link

Issue summary

Whenever i try to run !pip install gym gym-retro i get this huge list of errors that i will attach in a .txt file as the number of errors is alot also i have tried installing "wheel" as well but i still get errors the above mentioned .txt document contains errors that get thrown after installing wheel

System information

@flowerboy9
Copy link
Author

guys can anyone help me out please

@incubusnb
Copy link

incubusnb commented Mar 8, 2022

I get the same error trying to install myself. Using Windows 10 , installed Python 3.10.2 using Chocolatey

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> gym-retro

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

@DuneV
Copy link

DuneV commented Jul 17, 2022

You have to downgrade the version of pyhton, actually gym-retro module does not have support to pyhton 3.10 or 3.9, https://pypi.org/project/gym-retro/ is just for python 3.8, 3.7 and 3.6, maybe you could use a virtualenv.

@Tom-Neverwinter
Copy link

Tom-Neverwinter commented Aug 28, 2023

pip install virtualenv then python<version> -m venv <virtual-environment-name> so python3.8 -m gymretro

pip install virtualenv
mkdir gymretro
cd gymretro
virtualenv env
env\Scripts\activate

a break down is roughly:

Setting Up a Python Virtual Environment using virtualenv
Install virtualenv:
virtualenv is a third-party package to create virtual environments. To install it, run:

pip install virtualenv
Create a New Directory for Your Project:
For this example, we'll name it gymretro:

mkdir gymretro
Navigate to Your Project Directory:

cd gymretro
Create a Virtual Environment using virtualenv:
This command will create a virtual environment named env within your project directory:

virtualenv env
Activate the Virtual Environment:

On Windows, run:
env\Scripts\activate

kind of a mess going through this myself now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants