I’m able to install Python 3 with apk, but when I try to run it I get the output “illegal instruction”. Let me know if I can provide any other useful information.
That's because I haven't ever tried to make Python work. It's on the list, though.
Good to hear :) I had a brief look there before posting but missed it. Cheers!
I'll keep this issue open for any future progress on this.
Python 2 installs and runs, but sadly when typing Control-D to exit the interpreter, it crashes the app with a “Bad System Call” and a dialog appears with the message: “attempted to kill init goodbye”. I’m wondering if the CntrlD was interpreted by init though and not by Python as any keystrokes in the interpreter seem to cause a “bad system call” message and exit (but no dialog or app crash).
Python 2 and 3 are working on the master branch, which I hope to get pushed out with a build within a week.
Closing now as this is fixed in master.
Any chance you can link to the commit that fixed it? Curious what the issue was. If it’s a hassle, no worries, I can bisect to find it.
It was a whole bunch of unimplemented floating point instructions. Turns out in order to create an integer in python, it needs to be able to find the log2 of various powers of 10.
Most helpful comment
Python 2 and 3 are working on the master branch, which I hope to get pushed out with a build within a week.