繁体   English   中英

PAServer 22 在 Mac Monterey 中不起作用,它使用与框架 Python 2.7 链接的 dylib,并且在 Monterey 的 /System/library/Frameworks 中不存在

[英]PAServer 22 is not working in Mac Monterey, it use dylib that link with framework Python 2.7 and not exist in /System/library/Frameworks of Monterey

我正在下载 Delphi 11.1 的最新版本,一切正常,但是当我尝试使用 PAServer 22 在 MAC Monterey 12.3.1 中调试项目时,我在 PAServer 终端窗口中出现错误,它说框架 Python 不能在 System/library/Frameworks/.. 中找到,我安装 Python 2.7 但它没有安装在 System/... 安装在 Library/... 中并且 PaServer 找不到它。 你有解决这个问题的方法吗?

谢谢你。

目前,这是一个已知问题。 有关更多详细信息,请参阅https://quality.embarcadero.com/browse/RSP-37609 遗憾的是还没有官方修复。 但在该 RSP 中,您会发现 Michael Geddes 的解决方法可能对您有所帮助:

对于那些无论如何都想继续前进的人,我怀疑这会起作用(还没有尝试过,而且它可能无法在更新后存活):

Install Python 2.7 package from python.org
Disable SIP
    Reboot Mac hold down Command + R
    From a shell:
        > csrutil disable
        > reboot
Remount / as read-write
    > sudo mount -uw /
Check that /System/Library/Frameworks doesn't exist and then Copy (?link) in the Python framework.
    > cp -R /Library/Frameworks/Python.framework /System/Library/Frameworks
Enable SIP
    Reboot Mac, hold down Command + R
    From a shell:
        > csrutil enable
        > reboot

最后我有了解决方案,使用:

sudo install_name_tool -change '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' /Library/Frameworks/Python.framework/Versions/2.7/Python liblldb.3.8.0.dylib

我用 Python 的新路径更改了崩溃的 dylib。

我遇到了同样的问题,按照 Sherlock70 发布的链接到发布的链接( https://quality.embarcadero.com/browse/RSP-37609

我在 Marco Cantu 发布的评论中看到了部分内容,说该补丁可用,并且在他的帖子中有此链接https://blogs.embarcadero.com/rad-studio-11-1-alexandria-patch-1-available/

运行 RadStudio 11.1 补丁后,我将新的 PAServer 22.0 复制到我的 Mac 上,并按照 Marco 在上面的帖子中的“macOS 上 Python 配置的附加步骤”进行操作。

一旦我这样做了,现在一切都可以在我运行 iOS 15.4.1 的 iPad 上运行

我已按照链接的 Embo 博客中的步骤进行操作。 使用蒙特里。 它仍然返回有关无法找到 System/Library/Frameworks/Python.framework/Versions/2.7/Python 路径等的错误。愚蠢的事情昨天还在工作。

刚刚重新安装了 Delphi 11.1 和 GetIt 上的两个补丁(所以版本现在是 Embarcadero® Delphi 11 Version 28.0.44500.8973)

在 Mac 上安装 Python 2.7 并在终端中运行 3 个命令。

这真是令人沮丧....

暂无
暂无

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

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