PyCharm won't launch in Mac OS Monterey 12.3.1

Answered

This is my first time installing/launching PyCharm and upon launch, nothing happens. I'm not sure where to look for logs or bugs.

Is there another way to launch PyCharm so it won't crash/fail?

 

Edit: For more info, I ran `/Applications/PyCharm.app/Contents/MacOS/pycharm` and got:

2022-07-14 11:51:48.439 pycharm[62722:4530194] allVms required 1.8*,1.8+

2022-07-14 11:51:48.440 pycharm[62722:4530194] Found Java Virtual Machines:

2022-07-14 11:51:48.440 pycharm[62722:4530194] /Applications/PyCharm.app/Contents/jbr

2022-07-14 11:51:48.440 pycharm[62722:4530194] Required VMs: 1.8*,1.8+

2022-07-14 11:51:48.440 pycharm[62722:4530194] Chosen VM:

2022-07-14 11:51:48.440 pycharm[62722:4530194] /Applications/PyCharm.app/Contents/jbr

2022-07-14 11:51:48.442 pycharm[62722:4530200] Cannot load JVM bundle: Error Domain=NSCocoaErrorDomain Code=3585 "dlopen_preflight(/Applications/PyCharm.app/Contents/jbr/Contents/MacOS/libjli.dylib) => false, tried: '/Applications/PyCharm.app/Contents/jbr/Contents/MacOS/libjli.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h')), '/usr/lib/libjli.dylib' (no such file)" UserInfo={NSLocalizedFailureReason=The bundle doesn’t contain a version for the current architecture., NSLocalizedRecoverySuggestion=Try installing a universal version of the bundle., NSFilePath=/Applications/PyCharm.app/Contents/jbr/Contents/MacOS/libjli.dylib, NSDebugDescription=dlopen_preflight(/Applications/PyCharm.app/Contents/jbr/Contents/MacOS/libjli.dylib) => false, tried: '/Applications/PyCharm.app/Contents/jbr/Contents/MacOS/libjli.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h')), '/usr/lib/libjli.dylib' (no such file), NSBundlePath=/Applications/PyCharm.app/Contents/jbr, NSLocalizedDescription=The bundle “OpenJDK 11.0.15” couldn’t be loaded because it doesn’t contain a version for the current architecture.}

0
2 comments

It looks like you use a Mac with an Intel chip while PyCharm is for Apple Silicon.

Try reinstalling PyCharm from https://www.jetbrains.com/pycharm/download/ but make sure you download the one for Intel chip.

1

That fixed it thank you!

0

Please sign in to leave a comment.