简体   繁体   English

Python4Delphi,支持不同的Unix安装

[英]Python4Delphi, support different Unix installations

I want to deploy a Delphi application on Linux, which will load a Python script and execute it.我想在 Linux 上部署一个 Delphi 应用程序,它将加载一个 Python 脚本并执行它。

My first demo application worked on my test system, a Linux Red Hat installation.我的第一个演示应用程序在我的测试系统上运行,一个 Linux Red Hat 安装。 But I failed on different client installations, having Ubuntu and also different Python versions.但是我在不同的客户端安装上失败了,有 Ubuntu 和不同的 Python 版本。

Is there any way to configure Python4Delphi to automatically match the used Linux and Python version?有没有办法配置Python4Delphi自动匹配使用的Linux和Python版本? If not: is there a way to provide these details to the Delphi components, where/how to figure out which parameters must be set on the Linux client installations?如果没有:有没有办法向 Delphi 组件提供这些详细信息,在哪里/如何确定必须在 Linux 客户端安装上设置哪些参数?

There should be a solution, acc.应该有一个解决方案,acc。 to Ubuntu working example .Ubuntu 工作示例

Automatically detect installed python version is not possible, see answer here: python 4 Delphi support, Delphi Praxis EN无法自动检测安装的 python 版本,请参阅此处的答案: python 4 Delphi 支持,Z4C4A218DB8E569D153ACC8ENA483

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM