Search code examples
pythondelphimacos-montereypaserver

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


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.


Solution

  • 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.