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

    How to install third party modules?

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 475 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

      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

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

        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,

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

          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.

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

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

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