PyCharm does not launch directly on MacBook Pro (Apple M2 Pro 14.2.1 (23C71) )

I just installed PyCharm 2023.3.2 on an updated Sonoma (14.2.1). 

I can not launch it directly but only via Anaconda Navigator. 

Error message with  ‘open -a /Applications/PyCharm.app’
The application /Applications/PyCharm.app cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10661 "(null)" UserInfo={_LSLine=4129, _LSFunction=_LSOpenStuffCallLocal}

Any solution?

 

 

3
7 comments

Same problem here; fresh install on a new m2 pro Sonoma 14.2.1 UI shows the marked out circle to show it's not supported. 

- When I attempt to open via terminal (as you tried), I see this exception.

- If I attempt to open via UI I see “You can’t open the application “PyCharm” because this application is not supported on this Mac.

- A different direction with different output:

  1. cd to the app dir
    cd /Applications/PyCharm.app/Contents/MacOS
  2. Run pycharm & step through setup; eventually app dies.
    ./pycharm
    2024-01-15 11:52:49,395 [   3833]   WARN - #c.i.s.ComponentManagerImpl - `preload=true` must be used only for core services (service=com.jetbrains.rdserver.statistics.BackendStatisticsManager, plugin=com.jetbrains.codeWithMe)
    2024-01-15 11:52:49.493 pycharm[3196:235628] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
    2024-01-15 11:52:50,350 [   4788]   WARN - #c.i.s.ComponentManagerImpl - com.intellij.sh.ShLanguage initializer requests com.intellij.notification.NotificationGroupManager instance
    2024-01-15 11:52:50,623 [   5061]   WARN - #c.i.u.n.s.ConfirmingTrustManager - Received an empty list of custom trusted root certificates from the system. Check log above for possible errors, enable debug logging in category 'org.jetbrains.nativecerts' for more information
    2024-01-15 11:52:50,877 [   5315]   WARN - #c.i.s.ComponentManagerImpl - com.intellij.psi.search.FilenameIndex initializer requests com.intellij.ide.plugins.PluginUtil instance
    2024-01-15 11:52:51,924 [   6362]   WARN - #c.i.s.ComponentManagerImpl - com.intellij.lang.javascript.psi.jsdoc.impl.JSDocCustomTags initializer requests com.intellij.lang.javascript.JSDisposable instance
    2024-01-15 11:53:07,298 [  21736]   WARN - #c.i.p.i.b.IdeStartupWizard - Timeout on waiting for initial start, proceeding without waiting, disabling the startup flow
    2024-01-15 11:53:07,377 [  21815]   WARN - #c.i.o.a.Application - issue detected: bundled.jre.m1.arch.message
    2024-01-15 11:53:48,069 [  62507]   WARN - #c.i.o.a.ActionStub - ActionGroup should be registered using <group> tag: id="WelcomeScreen.CreateDirectoryProject" class="com.jetbrains.python.newProject.steps.PyCharmNewProjectStep"
    2024-01-15 11:53:49,236 [  63674]   WARN - #c.i.u.x.Binding - no accessors for com.intellij.openapi.projectRoots.Sdk
  3. Execute ./pycharm again & I see the message Download PyCharm for Apple Silicon for better performance and stability.
  4. The link takes me to the URL & to the right of download is a dropdown allowing you to select .dmg (Intel) vs .dmg (Silicon)
  5. Make sure you choose the Silicon version.

 

0

@Andrey Resler, the problem I described occurred with the Apple Silicon pycharm build. After I launched PyCharm with Anaconda, I also got a pop up of “Download PyCharm for Apple Silicon for better performance and stability” as James described. 

0

I had the same issue. 
but all the reading suggests it should work.
I went back to https://www.jetbrains.com/pycharm/download/ and noticed that the .DMG button has a drop down. 
it defaults to INTEL, but you can choose Apple Silicon.
and that download gives you pycharm-professional-2023.3.2-aarch64.dmg instead. 
and that WORKS.

(for jetbrains - that could have been a bit more obvious on the download page guys.)

0

@Paul I only used the Apple silicon installer. nothing else 

Andrey Resler when I Clean up old IDE directories via Help, I got “No leftover IDE storage directories were found”. 

I also did not find JetBrains in Library with Finder. I think the problem is on the Anaconda side since I installed PyCharm via the link in Navigator. Everything related to pycharm or jetbrains are under the anaconda3 in my home directory. I will clean up and reinstall directly with your installer. I think that will solve the problem. 

Many thanks! 

0

Sonoma is the buggiest MacOS in memory. Renders pretty much everything severely unreliable and unusable at some point.

0

Please sign in to leave a comment.