Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Python4Delphi?

Tags:

python

delphi

I am using Delphi CE 10.4. I want to use Python4Delphi. The settings for MultiInstaller is

[Package - Python4Delphi]
Name=Python4Delphi
Folder=P4D
SearchPath="Source"
LibSuffix=%s0
D27="Packages\Delphi\Delphi 10.4+\Python.dpk", "Packages\Delphi\Delphi 10.4+\dclPython.dpk"
D28="Packages\Delphi\Delphi 10.4+\Python.dpk", "Packages\Delphi\Delphi 10.4+\dclPython.dpk"

Should the Folder be="..\P4D" because the files are in the parent folder?

The error is " Error: E:\PythonFiles\P4D\python4delphi\Install\ doesn't exist." Can anyone show me the right way to do this?

like image 328
Dan'l Avatar asked Nov 17 '25 09:11

Dan'l


1 Answers

You can always install it manually just as any other package. Open the project group "Python4Delphi\Packages\Delphi\Delphi 10.4+\P4DComponentSuite.groupproj", find three dcl's, click compile them and install:

like this

Then go to Tools-Options-Language-Delphi-Library and tell the IDE where to find the sources. You should modify the "Library Path" and the "Browsing path". Add 3 folders: source, source/vlc and source/fmx, as shown on the screenshot. Repeat it for both Windows 32 and Windows 64 platforms.

like this

Also there is a video instruction

like image 58
postscripter Avatar answered Nov 18 '25 22:11

postscripter