Skip to content
pyscripter edited this page Sep 23, 2020 · 13 revisions

Installation instructions

Delphi

To install Python4Delphi into your Delphi IDE, take the following steps:

  1. Clone or download and unzip the Github repository into a directory (e.g., D:\Components\P4D). Cloning is preferable, since you can then easily update the code.

  2. Start RAD Studio.

  3. Add the source subdirectory (e.g., D:\Components\P4D\Source) to the IDE's library path for the targets you are planning to use.

  4. Open and install the Python4Delphi package specific to the IDE being used. For Delphi Sydney and later it can be found in the Packages\Delphi\Delphi 10.4+ directory. For earlier versions use the package in the Packages\Delphi\Delphi 10.3- directory.

Note: The package is Design & Runtime together.

Lazarus (FPC)

The Lazarus Python4Delphi package can be found in the Packages/FPC directory. Install it in the standard way.

Clone this wiki locally