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

    installing external library (pycuda & numpy))

    Scheduled Pinned Locked Moved PYTHON Development
    8 Posts 0 Posters 759 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 17/09/2012 at 04:21, xxxxxxxx wrote:

      hi , it's my very first post here 😄
      hope experts can help me on how to install numpy library (arrays and math functions ....etc)
      and pycuda (is it supported to make the gpu do calculations???)

      hope any one answer with clarification (i'm not expert yet)

      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 17/09/2012 at 07:34, xxxxxxxx wrote:

        Salamu Alaykum(Hello)
        If you will to search over this forum and cgsociety.org, will find Niklas Rosenstein's post(and special tools as pythonbuilder and importfix) about imports.
        But i use such method as mentioned by Ludovic at http://mgl.scripps.edu/forum/viewtopic.php?p=3180&sid=0d6f2e6cb517da1a6634de90994c5a7f#p3180

        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 18/09/2012 at 21:32, xxxxxxxx wrote:

          w alikum alsalam brother 🙂
          well i'm trying right now ...will tell you the progress soon

          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 20/09/2012 at 12:51, xxxxxxxx wrote:

            well i did 2 attempts....

            first :

            installed numpy on my python 2.6.6 folder in c...then copied the numpy folder to cinema4d user library python package blablabla

            error is:
            Traceback (most recent call last) :
              File "'Python'", line 2, in <module>
              File "C:\Users\Mohamed\AppData\Roaming\MAXON\CINEMA 4D R14 Demo_555A13E8\library\python\packages\win32\numpy\__init__.py", line 137, in <module>
                import add_newdocs
              File "C:\Users\Mohamed\AppData\Roaming\MAXON\CINEMA 4D R14 Demo_555A13E8\library\python\packages\win32\numpy\add_newdocs.py", line 9, in <module>
                from numpy.lib import add_newdoc
              File "C:\Users\Mohamed\AppData\Roaming\MAXON\CINEMA 4D R14 Demo_555A13E8\library\python\packages\win32\numpy\lib\__init__.py", line 4, in <module>
                from type_check import *
              File "C:\Users\Mohamed\AppData\Roaming\MAXON\CINEMA 4D R14 Demo_555A13E8\library\python\packages\win32\numpy\lib ype_check.py", line 8, in <module>
                import numpy.core.numeric as _nx
              File "C:\Users\Mohamed\AppData\Roaming\MAXON\CINEMA 4D R14 Demo_555A13E8\library\python\packages\win32\numpy\core\__init__.py", line 5, in <module>
                import multiarray
            ImportError: DLL load failed: The specified module could not be found.

            second attempt :
            removed all cinema4d internal python..copied the python folder 2.6.6 and renamed it to python 32 framework (same as the one in cinema4d)

            and as expected it didn't work cause didn't recognize c4d functions 😄

            i think the first problem due to python versions (2.6.6 is a must use ....while c4d uses 2.6.4)
            any idea how to solve

            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 21/09/2012 at 05:20, xxxxxxxx wrote:

              any idea how to install that numpy to cinema4d python?

              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 21/09/2012 at 09:29, xxxxxxxx wrote:

                it works http://imm.io/F89k from sample http://scipy.org/Numpy_Example_List#head-a2c30dcf07b9b3297da2b1d9bc71a0055b4d7bcc

                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 21/09/2012 at 11:43, xxxxxxxx wrote:

                  cool !!
                  tell me what u did 😄 to do that 🙂
                  or give me (if possible) a compressed .rar version of python 32 framework folder 😄

                  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 22/09/2012 at 20:09, xxxxxxxx wrote:

                    well i downloaded the patch ...with numpy ..it worked 😄
                    but i don't know if it's fully function with cinema4d module or not

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