Coder Social home page Coder Social logo

Comments (7)

M-J-Murray avatar M-J-Murray commented on July 24, 2024 2

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.

kyuhyoung avatar kyuhyoung commented on July 24, 2024 1
>>> 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.

kyuhyoung avatar kyuhyoung commented on July 24, 2024 1

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.

M-J-Murray avatar M-J-Murray commented on July 24, 2024

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.

loretoparisi avatar loretoparisi commented on July 24, 2024

@M-J-Murray ah so! Wonder if it would works with a docker-ized version of MAME like DAME...

from mametoolkit.

M-J-Murray avatar M-J-Murray commented on July 24, 2024

Which version of Python are you running? I should probably state this only works on python 3.6+

from mametoolkit.

loretoparisi avatar loretoparisi commented on July 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.