我正在下載 Delphi 11.1 的最新版本,一切正常,但是當我嘗試使用 PAServer 22 在 MAC Monterey 12.3.1 中除錯專案時,我在 PAServer 終端視窗中出現錯誤,它說框架 Python 不能在 System/library/Frameworks/.. 中找到,我安裝 Python 2.7 但它沒有安裝在 System/... 安裝在 Library/... 中并且 PaServer 找不到它。你有解決這個問題的方法嗎?
謝謝你。
uj5u.com熱心網友回復:
目前,這是一個已知問題。有關更多詳細資訊,請參閱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
uj5u.com熱心網友回復:
最后我有了解決方案,使用:
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。
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/469383.html
上一篇:用Delphi圖案填充矩形內部
