I’m download the lastest version of Delphi 11.1 and all is Ok, but when I try to debug project in MAC Monterey 12.3.1 using PAServer 22, I have an error in PAServer Terminal window, it said that Framework Python can’t be found in System/library/Frameworks/.., I install Python 2.7 but it’s not installed in System/... is installed in Library/... and PaServer can’t find it. Have you any Solutions for that problem?
Thank you.
CodePudding user response:
At this time, this is a known issue. See https://quality.embarcadero.com/browse/RSP-37609 for more details. Sadly there is no official fix yet. But in that RSP you will find a workaround by Michael Geddes that might help you:
For those that want to get going no matter what, I suspect this will work (haven't tried it yet, and it will probably not survive an update):
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
CodePudding user response:
Finally I have the solution, use:
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
I change the dylib that crash, with new path for Python.