Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    python module update

    Scheduled Pinned Locked Moved PYTHON Development
    5 Posts 0 Posters 664 Views
    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.
    • H Offline
      Helper
      last edited by

      On 21/07/2017 at 02:11, xxxxxxxx wrote:

      Hello everyone,

      I wanted to know if it was possible to update the python version or rather a specific module of the python framework that cinema4d uses. On Mac OSX.
       
      The reason is, that I use urllib to donwload images from a server, the problem now is that on Mac OSX the ssl module is outdated and does not support newer protocols. 
      On Windows however everything works just fine.

      I know this is a rather general python question than cinema4d related but maybe anyone had to do something similar or has an solution for this problem.

      Thanks
      Florian

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 24/07/2017 at 04:33, xxxxxxxx wrote:

        What version of C4D are you on? I only experienced this issue with Python 2.6 in R16 and older.
        You can download a newer version of the SSL module for R16 and older on mac here:

        https://public.niklasrosenstein.com/cinema4d/python/modules/ssl-1.6/

        I strongly recommend you cleanup after yourself when using third party modules, as described
        here https://developers.maxon.net/forum/topic/8229/10727_best-practice-for-imports and here
        https://niklasrosenstein.github.io/c4ddev/ (under Py4d Imports How-To).

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 24/07/2017 at 06:41, xxxxxxxx wrote:

          Hey Niklas,

          thanks for your reply!
          I am using Cinema4D R18.

          I haven't tried it yet on an older version on Mac other than R18.

          But thank you very much for the resources you provided. I wil take a look at them and try them out.

          -Florian

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            On 31/07/2017 at 07:45, xxxxxxxx wrote:

            Hi,

            sorry for leaving this pending so long. Unfortunately all I can add, that MAXON does not support this... sorry! But I'd say, Niklas is your best bet here anyway.

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              On 13/08/2017 at 23:56, xxxxxxxx wrote:

              Hi,

              I thought as much.

              Luckily (after quite some time) I did manage to resolve this problem.
              Instead I use the subprocess module in combination with cURL, since cURL comes preinstalled on mac osx.

              But thank you Niklas and Andreas for your efforts!

              greetings, 
              Florian

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