Walid Alg
Members-
Content Count
22 -
Joined
-
Last visited
Community Reputation
0 Neutral-
"I found a temporary solution, but it's not complete." SVID_20241014_215009_1.mp4
-
"I found a temporary solution, but it's not complete." SVID_20241014_215009_1.mp4
-
I found it in the PythonEnvironments library; I'm not sure why it was missing components the first time. After reloading, the library was fully downloaded.
-
Hello everyone, I'm looking for the component pyEmbeddedResEnvironment3101 in any available library. Thank you.
-
It works, I don't know why, but after reinstalling the Python library for Windows from the official website, the latest version, I found the application in Delphi working and installing external libraries like PyTorch inside Delphi. Additionally, the function isImported returns true. Now my question is, on Android, I tried the same application that works on Windows, but it didn’t install the PyTorch library, for example. In the settings, ManagerKind = pip / conda. Using pip on Windows works to install the library, but conda doesn't work for installing the library. I tried both pip and conda on Android, but neither worked. Can you help with this?
-
pyEmbeddedResEnvironment310 is available in any library, thank you
-
Pip is defualt setting, other is corda lib or.. I forget his name. I have posted this in several forums and communities that focus on Delphi, but I haven't found any answers regarding the use of P4D in the Android environment, let alone a solution to the problem. The only person who has responded to me on this topic so far is you.
-
I want to integrate Python libraries into an Android application in a Delphi environment. In general, to run a Python environment in an Android application, the environment must first be embedded and loaded from within Delphi by selecting Python and the version type. Then, it is eventually integrated with the application and appears in the form of an SO file. What I am trying to do is figure out how to install any external Python library and run it in an Android application using Delphi. I tried installing the MoviePy library through this link: https://github.com/Embarcadero/PythonPackages4Delphi/tree/main/src/MoviePy but it didn’t work. I also tried the attached project: https://github.com/Embarcadero/P4D-Data-Sciences/tree/main/samples/InstallAndImport which includes the PyTorch library. Both have the properties autoImport, autoInstall set to true, and the MoviePy and PyTorch components are set up by default as I stated earlier, with the addition of pythonEngine and pyEmbeddedEnvironment. But neither worked. The problem is the same: the same message appears, "no module named pip". which is that when executing the isImported function, it returns the value false.
-
thought about this attached project importLibrary because I think it is the key to the solution. I got an error message.
-
Thank you very much for the effort.
-
If uploading the project helps in understanding and solving the issue, I will upload it for you. Thank you.
-
Yes, I did. It didn’t work for me due to the absence of PyTorch, I don't know which library it is in, but I understood the concept of how it works. That’s why the message appears in the Android application. An error occurred during the installation process:
-
-
As I understand it, to ensure that the component is working, the function should return the value true.
-
All ready have did. I have done this before, because the moviePy component requires modules from these libraries in order to function. Well, since the moviePy library is already installed on Windows, I added the moviePy component to the form and wrote an import code for it. It works as I’m just testing whether the moviePy component returns the value true for the isImported function. All of this is to check if the moviePy component works before switching to the Android platform. As I mentioned, the moviePy component is set up by default as I stated earlier, with the addition of pythonEngine and pyEmbeddedEnvironment. The problem is the same message appears, which is that when executing the isImported function, it returns the value false.