How to install third party modules?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/09/2011 at 13:44, xxxxxxxx wrote:

    I'm trying to install the Python Twitter module (and its dependencies) for use with Cinema.

    I have followed the instructions at the link above and I'm able to access the module in the standard OS X installation of Python. But I can't access it from inside the Cinema Script Manager. How do I install these modules so that Cinema can see them?

    Thanks,
    Jack



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/09/2011 at 14:05, xxxxxxxx wrote:

    Copy them into your appdata path.
    If you're on windows, type "%appdata%" into your "execute" menu. search for Maxon\Cinema 4D R12
    Under library\python\packages\{YOURSYSTEM} you can insert packages.

    Cheers,



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/09/2011 at 14:16, xxxxxxxx wrote:

    I've found the directory for adding 3rd party packages. On OS X, it's here:
    /Users/Jack/Library/Preferences/MAXON/CINEMA 4D R12_C333CB6C/library/python/packages/osx

    I have successfully added other third party modules there and imported them into Cinema. But the combination of Python Twitter and its dependencies is more complex. I'm not sure which files need to be copied. Each of these modules has its own Setup.py script, and I imagine running that is the easiest and safest way to install everything. But I don't know how get those scripts to access Cinema's installation of Python.

    Update: I ended up dragging over what seemed like the obvious files and folders, and so far it's working! Just need to do a little more testing.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 03/09/2011 at 09:46, xxxxxxxx wrote:

    I am not sure if the Cinema 4D Python distribution has easy-install installed. Can't check it out.
    The bigger problem is imo delivering / installing the dependencies on user distributions.
    I'll do some tests in the future, maybe we can install easy-install on Cinema 4D's Python distribution, and if not, I may write an installer that can be used by developers. Let's see what brings the future. ;)


Log in to reply