Jump to content

Recommended Posts

Hey, every one. 


I used this project  the library in the Delphi environment for Android: https://github.com/pyscripter/python4delphi/tree/master/Demos/FMX/SimpleDemo

When I set the autoLoad property of the PythonEngine component to true, the application doesn't open or run on the phone. However, if I set it to false, the application runs, but I get the message: "Python is not properly initialized."

I wrote the following code: PythonEngine.autoLoad := true; or
PythonEngine.LoadDllInExtensionModule;

But I still get the same message.

I also use:
PythonEngine.LoadDLL;

The application crashes and exits immediately.
My delphi Version is 12 and my Phone Android version is 8.

I would appreciate your help.

FB_IMG_17274883631413828.jpg

Share this post


Link to post
1 hour ago, Walid Alg said:

Thank you, today i tested

This message "Python is not properly initialized."

Sure:

"What does it mean? Is it because the Python librarys were not loaded in the deployment, or does it have another meaning?"

 

Share this post


Link to post
1 hour ago, Walid Alg said:

This message "Python is not properly initialized."

Sure:

"What does it mean? Is it because the Python librarys were not loaded in the deployment, or does it have another meaning?"

 

It worked, Thank you somuch

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×