Embarcadero/PythonEnvironments

Downloading Python failed

Closed this issue · 7 comments

I am completely new to Delphi but need to use my well-known Python libraries NumPy, SciPy, Matplotlib and OpenCV.
Therefore I try to follow the very promising route to P4D-Data-Sciences

Platform Info:

  • Win 11
  • Delphi 12.2
  • Python4Delphi 1.0 (via GetIt)
  • Python Environments 3.11 (via GetIt)

Trying the PythonEnvironments Samples and selecting a Python version always fails with error:

Exception EDirectoryNotFoundException in module rtl290.bpl
The specified path was not found
[python\python3-windows-3.9.13-amd64.zip]
[python\python3-windows-3.13.0-amd64.zip]

Even downloading the embeddable packages in the correct version directly from python.org, renaming the zip's according to the specified path above and placing them in the subdirectory PythonEnvironments-12\python did not solve the issue

Hello @MHPythonista,

Could you please provide more details about the issue you're facing? For example, how did you go about installing the PythonEnvironments library?

I did install the Python Environments 3.11 with the integrated GetIt Package Manager in RAD Studio 12.2

  • Open provided sample_00 or higher
  • Right-click in project folder
  • Selecting different Python version
  • Raised exception

Can you share a short video of the whole process?

Screencast_Delphi12_2_PythonEnvironments.mp4

Can you try to install it directly from this repo?

Thanks, that works much better -> all samples executed without issues.
Trying out P4D-Data-Sciences next and hope that I can get it running with my basic Delphi knowledge.

Let me know if you need any assistance.