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

    c4dpy "sysctl: No such file or directory"

    General Talk
    s26 python
    3
    4
    798
    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.
    • I
      InterfaceGuy
      last edited by

      Hello,

      I am trying to set up pip on my new machine but keep running into this error:

      Davids-MBP-2 Maxon Cinema 4D R26 % c4dpy -m get-pip.py
      sysctl: No such file or directory
      

      My specs:

      Screenshot 2022-05-12 at 12.10.26.png

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

        Hi @InterfaceGuy I also do have this error, message but I don't think this cause any issue for this purpose.

        The -m argument is telling to the c4dpy to execute a module, but in your case you are executing a file. So you should just give the full filepath of this file and this should work.

        So the good way to setup pip is to either call
        c4dpy -m ensurepip
        or
        c4dpy {FullPathToGetPip}\get-pip.py

        And take into consideration that in some case pip could fail in S26, as reported in Cinema 4D R23 / macOS - pip install broken we were not able to reproduce, making hard to provide a workaround but we are still on it.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • ferdinandF
          ferdinand
          last edited by

          Hello @InterfaceGuy,

          without any further questions or other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022.

          Thank you for your understanding,
          Ferdinand

          MAXON SDK Specialist
          developers.maxon.net

          1 Reply Last reply Reply Quote 0
          • I
            InterfaceGuy
            last edited by

            Sorry for the late reply, my issue went away after reinstalling C4D so I forgot about it

            Thank you for your feedback

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