Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
pyscripter edited this pageJun 20, 2024 ·13 revisions

Installation instructions

Delphi

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

  • UsingMultiInstaller (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 librarypath 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 thedclPython,dclPythonVcl anddclPythonFmx 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 librarypath 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 theblog 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

[8]ページ先頭

©2009-2025 Movatter.jp