A record that GAMEBOY could not be done in Python. (PYBOY)

Introduction

https://github.com/Baekalfen/PyBoy

PYBOY announced here Apparently GAMEBOY can be played on Python.

That's a joke, and the main purpose is a simulation environment for reinforcement learning.

It provided an environment for learning Mario and Pokemon using reinforcement learning! (I'm sorry if the interpretation is wrong)

Aside from studying reinforcement learning! !!

I want to play Pokemon in Python, so I'll play with it.

1. Installation

image.png

that. .. .. It's an error.

Review the official documentation.

image.png

Yes. I skipped step 1. Let's install SDL2! !!

Mazui ... I've never used a package manager. (I use anaconda in windows)

If you think about it, something is written here. https://github.com/Baekalfen/PyBoy/wiki/Installation

image.png

It seems that he is saying "I can type this command with powershell" (I'm not good at English)

image.png

It was big! !! !! Do pip install again.

before that image.png

I have to do this! He says, "Restart powershell and this is it." I will reboot and try.

After that, I was told that there was no Visual Studio, so I installed Visual Studio as well! !! Now! !!

image.png

・ ・ ・

Is that so ~

I wonder if I made a mistake in the settings ~

I will try it on the Mac as well. Windows will also revenge!

Recommended Posts

A record that GAMEBOY could not be done in Python. (PYBOY)
Tkinter could not be imported in Python
A memorandum (masOS) that import tkinter could not be done with python installed from pyenv
A mechanism to call a Ruby method from Python that can be done in 200 lines
33 strings that should not be used as variable names in python
Investigating what could be used as a Markdown parser in Python
Introducing a library that was not included in pip on Python / Windows
A story that heroku that can be done in 5 minutes actually took 3 days
A memo that I wrote a quicksort in Python
A program that removes duplicate statements in Python
A well-prepared record of data analysis in Python
A solution to the problem that the Python version in Conda cannot be changed
I want to create a priority queue that can be updated in Python (2.7)
I made a familiar function that can be used in statistics with Python
Let's look at a differential equation that cannot be solved normally in Python
Key input that does not wait for key input in Python
What's in that variable (when running a Python script)
In Python, create a decorator that dynamically accepts arguments Create a decorator
Note that int64 could not be received by pyOSC
MALSS, a tool that supports machine learning in Python
How to set up a simple SMTP server that can be tested locally in Python
A Python program in "A book that gently teaches difficult programming"
A general-purpose program that formats Linux command strings in python
A function that divides iterable into N pieces in Python
Published a library that hides character data in Python images
Loop through a generator that returns a date iterator in Python
Processing of python3 that seems to be usable in paiza
Let's create a script that registers with Ideone.com in Python.
Master the type in Python? (When should type check be done)
The story that `while queue` did not work in python
Text analysis that can be done in 5 minutes [Word Cloud]
I tried "a program that removes duplicate statements in Python"
Codes that could be reused in Flask (sign up, login)
Create code that outputs "A and pretending B" in python
[MQTT / Python] Implemented a class that does MQTT Pub / Sub in Python
Scripts that can be used when using bottle in Python
Precautions that must be understood when building a PYTHON environment
A set of script files that do wordcloud in Python3
Take a screenshot in Python
Create a dictionary in Python
Python list is not a list
Make a bookmarklet in Python
Draw a heart in Python
When I tried to use pip with python, I was told that XML_SetHashSalt could not be found.
Here's a summary of things that might be useful when dealing with complex numbers in Python
[Python] Make a graph that can be moved around with Plotly
A Python one-liner that pretty prints json. Do not escape Japanese.
Play a sound in Python assuming that the keyboard is a piano keyboard
A memo that handles double-byte double quotes in Python regular expressions
Easy! Implement a Twitter bot that runs on Heroku in Python
[Python / Django] Create a web API that responds in JSON format
python + SCOOP distributed computing cannot be done on a Windows PC
About psd-tools, a library that can process psd files in Python
Make a Spinbox that can be displayed in Binary with Tkinter
A timer (ticker) that can be used in the field (can be used anywhere)
A function that measures the processing time of a method in python
I made a shuffle that can be reset (reverted) with Python
A program that determines whether a number entered in Python is a prime number
A special Python codec that seems to know but does not know
Python standard input summary that can be used in competition pro
The story that 2D list replacement did not work in python