Simon Booth

Results 185 comments of Simon Booth

BTW - Has this bunch of packages actually been tested on physical Android? I notice that the Torch demo @jimmckeeth shows on the YouTube vid is Client Server (so the...

> Torch is an extension module. It must be compiled with Android NDK toolchain to work on Android. They don't have it available on PYPI, you need to build it...

I just noticed that PSUtil and Torch had AutoInstall + AutoImport checked (the default) so turned those off as the test installs and imports them itself. No difference though. AutoInstall...

Just tested on Phone - illuminating error messages... ![msvcrt](https://user-images.githubusercontent.com/1549219/184191588-e82496e4-ef2a-459f-8580-a9de018e55a3.jpg) Errm - it's android - why is it trying to import msvcrt? ![msvcrt](https://user-images.githubusercontent.com/1549219/184191721-dd5f641a-9ff2-4baf-8560-dcf1b0077cce.png) And it can't find it's lib - possibly...

Nope - lib is there on Android... ![image](https://user-images.githubusercontent.com/1549219/184210972-895a895c-d19b-427c-959e-751dea86c654.png)

Didn't do it that way cos no such option avalable ![image](https://user-images.githubusercontent.com/1549219/184231831-a08e79b9-83c8-446c-83df-5bdae0b938dc.png)

> [Error Error] Required local file "C:\DelphiComponents\PythonEnviroments\python\android\3.9.12\arm64\libpython3.9.so" not found. Deployment failed. Am I meant to extract the ZIPs or summat?

That got Python working Now that thing sets all the paths yeah?

Oh yeah, noticed that but didn't remember to point it out I'll do a full rebuild and test in the morning - I want to get Macs ready and that...

Well, on a freshly installed 11.2 SimpleAndroid will definitely fail from https://github.com/Embarcadero/python4delphi/pull/39 On 10.4.2 it will almost certainly work One 11.0 + 11.1 - maybe it works, I guess it...