在最新的 macOS Sonoma 14.0 更新后,我遇到了 PyCharm 问题。以下是我面临的问题:
pycharm .
从 iTerm 运行时,它会返回以下错误:The application /Users/user_name/Applications/PyCharm Professional Edition.app/Contents/MacOS/pycharm
cannot be opened for an unexpected reason, error=Error Domain=NSCocoaErrorDomain Code=260
"The file “pycharm” couldn’t be opened because there is no such file."
UserInfo={NSURL=file:///Users/user_name/Applications/PyCharm%20Professional%20Edition.app/Contents/MacOS/pycharm,
NSFilePath=/Users/user_name/Applications/PyCharm Professional Edition.app/Contents/MacOS/pycharm,
NSUnderlyingError=0x6000029e8780
{Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
重新安装 PyCharm 可以解决该问题。