ImportError PyBoy on termux
I tried to test my work on my phone using Termux Debian emulator. After uninstalling the pyboy module and cloning my repository, I get an import error inside your module. I don't understand what is wrong.
[Thank you]
full trace: https://github.com/Baekalfen/PyBoy/issues/403
GitHub
ImportError PyBoy on termux · Issue #403 · Baekalfen/PyBoy
I tried to test my work on my phone using Termux Debian emulator. After uninstalling the pyboy module and cloning my repository, I get an import error inside your module. I don't understand wha...
7 Replies
Isn't this expected with pyboy being uninstalled? I think you should at least install it via
pip install .
for it to workOhh, for full context please check my issue on GitHub https://github.com/Baekalfen/PyBoy/issues/401
I need to use the source code without CPython
in order to directly control pyboy.mb
I need to use the source code without CPython
in order to directly control pyboy.mb
GitHub
how to execute 1 processor instructions · Issue #401 · Baekalfen/...
Hello, I have a question: why doesn't the PyBoy class have a method that performs just one CPU step/instruction? I wanted to build my own basic emulator and decided to create a test by comparin...
While making some failed tests for the link-cable serial connection, I ended up editing the cython declaration to expose the whole mb and perform one instruction at a time with a new method, basically running two equal instances of the same game in sync one instruction at a time
But yeah, it's also possible to use the hook method to make an abstraction of that and do a "run_until_hook()" function that returns in a way similar to tick(), with functions that just sets a bool exit condition
Thank you for the response on issue 401,
but we've moved away from the context of issue 403.
I have already found a way to do single instruction stepping.
The problem is that module import doesn't work in Termux (Debian).
See the trace in issue 403.
but we've moved away from the context of issue 403.
I have already found a way to do single instruction stepping.
The problem is that module import doesn't work in Termux (Debian).
See the trace in issue 403.
I think your problem is a generic Python issue. You're importing a module that you have not installed, and it is not in your path. You placed it in a subdirectory, while you are executing Python somewhere else
I double-checked the run on my laptop,
and yes, the same error occurs.
I thought I made a commit when everything was working.
Alright, I will figure it out.
Thanks.
How to close a topic?
Just leave it as is