python module update



  • 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



  • 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://plugincafe.maxon.net/topic/8229/10727_best-practice-for-imports and here
    https://niklasrosenstein.github.io/c4ddev/ (under Py4d Imports How-To).



  • 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



  • 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.



  • 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


Log in to reply