Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    PyCharm Plugin on MacOs starts multiple Interpreter Instances

    General Talk
    python project tool 2023
    2
    3
    688
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FSSF
      FSS
      last edited by

      Hi everyone,

      hope you had nice holidays.
      im trying to follow the pyCharm setup, explained here and here:
      https://developers.maxon.net/docs/py/2023_2/manuals/introduction/autocompletion_dummy_package.html

      https://developers.maxon.net/forum/topic/10961/how-to-use-c4dpy-for-cinema4d-r20-sp1/4?_=1673858332967&lang=de

      The problem is, as soon as the Interpreter is called it seems to get stuck and start the interpreter over and over. Spamming my system with c4dpy instances in the background, with roughly a new one ever 3 minutes.

      Anyone experienced similar problems?

      1 Reply Last reply Reply Quote 0
      • FSSF
        FSS
        last edited by

        Sorry, solved itself, the project path was not added to the jdk table file of pycharm. After that pycharm stopped doing this.

        <additional ASSOCIATED_PROJECT_PATH="$USER_HOME$/LocalProjects/your/project/folder" SDK_UUID="0c6c6d76-ff0d-40a3-b9de-d6146d25c014">
        <setting name="FLAVOR_ID" value="MacPythonSdkFlavor" />
        <setting name="FLAVOR_DATA" value="{}" />
        </additional>

        1 Reply Last reply Reply Quote 0
        • M
          m_adam
          last edited by

          Hi @FSS first of all happy new year ! 🙂

          And I'm glad that you found a solution however even if this is in the documentation we don't explicitly support PyCharm and only provide a dummy package to have autocompletion working with any Python instance. But C4dpy is not supported by all IDE and we can't provide any support there.

          If you want to have a better IDE workflow we released a plugin for Visual Studio Code, requiring a Cinema 4D plugin and a VS Code plugin.

          Finally I moved this topic to general talk as it this is nothing related to Cinema 4D API.

          Cheers,
          Maxime.

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

          1 Reply Last reply Reply Quote 0
          • First post
            Last post