Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- install SWIG https://www.swig.org/download.html
- Install SWIG:
- If you haven't installed SWIG yet, you can download it from SWIG's official website. After downloading, extract the files to a directory, e.g., C:\swig.
- Add SWIG to the PATH:
- If you're on Windows:
- Right-click on the Windows start button and choose System.
- Click on Advanced system settings.
- In the System Properties window, click on the Environment Variables button.
- In the Environment Variables window, highlight the Path variable in the "System variables" section and click the Edit button.
- In the Edit Environment Variable window, click the New button and then paste in the path to the directory where you extracted SWIG, e.g., C:\swig.
- Click OK to close each of the windows.
- PATH:
- C:\ENV ITEMS\swigwin-4.1.1
- NAME:
- C:\ENV ITEMS\swigwin-4.1.1\swig.exe
- pip install virtualenv
- mkdir GYM
- cd GYM
- virtualenv env
- env\Scripts\activate
- set PATH=C:\ENV ITEMS\swigwin-4.1.1;%PATH%
- pip install cmake wheel
- pip install "gymnasium[all]"
- ----------------------------------------------------------------------------------------------------------------------
- to run:
- cd GYM
- virtualenv env
- env\Scripts\activate
- now import games in rom format to run:
- ale-import-roms.exe [rom]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement