Comments (7)
I was not aware of the dockerized version of mame. The problem is not caused by mame. The library itself uses Linux fifo pipes. I will have to find another mechanism similar to fifo pipes that works on every OS.
from mametoolkit.
>>> import MAMEToolkit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kevin/.local/lib/python3.5/site-packages/MAMEToolkit/__init__.py", line 1, in <module>
from MAMEToolkit import emulator
File "/home/kevin/.local/lib/python3.5/site-packages/MAMEToolkit/emulator/__init__.py", line 2, in <module>
from MAMEToolkit.emulator.Emulator import Emulator, list_actions, see_games, run_cheat_debugger
File "/home/kevin/.local/lib/python3.5/site-packages/MAMEToolkit/emulator/Emulator.py", line 59
pipes_path = f"{os.path.dirname(os.path.abspath(__file__))}/mame/pipes"
^
SyntaxError: invalid syntax
Same error.
Ubuntu 16.04.
from mametoolkit.
Which version of Python are you running? I should probably state this only works on python 3.6+
Mine was 3.5.
With python 3.6, the above error does not occur anymore. Thanks.
from mametoolkit.
Unfortunately the library can only be installed on Linux systems. The frame data is passed from the emulator to the library using linux fifo pipes.
from mametoolkit.
@M-J-Murray ah so! Wonder if it would works with a docker-ized version of MAME like DAME...
from mametoolkit.
Which version of Python are you running? I should probably state this only works on python 3.6+
from mametoolkit.
@M-J-Murray so to recap, it would work in docker with python 3.6
. Where you aware of the dockerized MAME version (DAME)? Thanks
from mametoolkit.
Related Issues (20)
- dead link in README HOT 1
- Enable sound when throttle = True? HOT 3
- MAMEToolkit only supports RGB32 and ARGB32 frame bit format games - Tekken 2 Environment HOT 2
- Emulator error when initializing the environment. HOT 1
- How should I save and load models HOT 1
- Can it train on the server? HOT 5
- duplicated and missing frames HOT 2
- get gemini wing actions fail HOT 1
- gemini wing agents can't work HOT 2
- Have you considered providing a gym interface? HOT 1
- [Q] alternative for older MAME versions HOT 1
- Links from this part of readme aren't working: HOT 1
- Environment() setup time seems very long HOT 1
- get Error "FileNotFoundError: [Errno 2] No such file or directory" HOT 3
- Error No output expected from command 'mem = manager:machine().devices[":maincpu"].spaces["program"]' HOT 1
- compilation failure HOT 1
- Qt platform plugin "xcb" not found --- calling run_cheat_debugger() HOT 3
- I had to modify mamearcade.make - others may need this too. HOT 1
- Emulator() call never hooks and returns - just runs MAME
- Sample code problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mametoolkit.