Skip to content
pyscripter edited this page Jun 20, 2024 · 13 revisions

Installation instructions

Delphi

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

  • Using MultiInstaller (Delphi Sydney or later)

    Read the instructions in the "Install" directory.

  • Manual Installation

    • For Delphi Sydney and later:

      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 subdirectories (e.g., D:\Components\P4D\Source, D:\Components\P4D\Source\vcl and D:\Components\P4D\Source\fmx) to the IDE's library path for the targets you are planning to use.

      4. Open the "P4DComponentSuite" project group which can be found under Packages\Delphi\Delphi 10.4+ directory.

      5. In the Project dock window, right-click on the group project and from the context menu select "Build All".

      6. Then install the dclPython, dclPythonVcl and dclPythonFmx design-time packages.

    • For Delphi earlier versions:

      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 and D:\Components\P4D\Source\vcl) to the IDE's library path for the targets you are planning to use.

      4. Open and install the Python4Delphi package. It can be found under Packages\Delphi\Delphi 10.3- directory.

Note: For Delphi Sydney and later, packages are separated into run-time and design-time. For Delphi earlier versions, a single package is available as run-time and design-time.

C++Builder

See the blog post by David Intersimone

Lazarus (FPC)

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

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy