Import PyTango

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • suravi pubudu
    New Member
    • Jan 2012
    • 7

    Import PyTango

    I want to import PyTango library
    but it gives this error,please help me

    >>> import PyTango
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "C:\Python27\li b\site-packages\PyTang o\__init__.py", line 90, in <module>

    raise ie
    ImportError: DLL load failed: The specified module could not be found.
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    Have you installed PyTango and it's dependencies?

    Comment

    • suravi pubudu
      New Member
      • Jan 2012
      • 7

      #3
      Thank you for reply,

      my platform is windows xp sp2 32bit

      i install,
      * Tango-7.2.6
      * Python 2.7.2

      and i download boost python from this (link http://sourceforge.net/projects/boos.../boost/1.48.0/)
      but it has not any exe file it has only source code.

      omniORB from this link(
      http://sourceforge.net/projects/omni...omniORB-4.1.6/)
      there also only source code.

      im beginner for PyTango.
      This is my research project.

      can you please give me a correct installation guide lines and
      correct dependencies links or setups.

      my email is xxxxxxx
      Last edited by bvdet; Jan 23 '12, 07:31 PM. Reason: Remove email address - please see posting guidelines here: http://bytes.com/faq.php?faq=posting_guidelines#faq_unacceptable_things

      Comment

      • suravi pubudu
        New Member
        • Jan 2012
        • 7

        #4
        @ dwblas
        please help

        Comment

        • bvdet
          Recognized Expert Specialist
          • Oct 2006
          • 2851

          #5
          From http://www.tango-controls.org/static...l#dependencies: "If PyTango reports DLL load failed probably you are missing Visual Studio 2005 redistributable package."

          Comment

          • suravi pubudu
            New Member
            • Jan 2012
            • 7

            #6
            thank for reply
            Visual Studio 2005 redistributable package also install.

            but i cant import PyTango.
            [IMG]file:///C:/Documents%20and %20Settings/Administrator/Desktop/error.JPG[/IMG]

            Comment

            • bvdet
              Recognized Expert Specialist
              • Oct 2006
              • 2851

              #7
              I see you attempted to post an image. You must enter the URL of your image. Try uploading to an image sharing site such as imgur.com or attach the image file to a post (see additional options under "advanced") .

              Comment

              • suravi pubudu
                New Member
                • Jan 2012
                • 7

                #8

                Comment

                • suravi pubudu
                  New Member
                  • Jan 2012
                  • 7

                  #9
                  @bvdet tahnx for the advise.
                  any idea about PyTango.

                  Comment

                  • bvdet
                    Recognized Expert Specialist
                    • Oct 2006
                    • 2851

                    #10
                    My guess is the Python path does not include the directory where the DLL is located. If so, import sys and append the path to sys.path.

                    Comment

                    • suravi pubudu
                      New Member
                      • Jan 2012
                      • 7

                      #11
                      this is the sys.path output

                      Comment

                      • bvdet
                        Recognized Expert Specialist
                        • Oct 2006
                        • 2851

                        #12
                        Where is the DLL being imported physically located?

                        Comment

                        Working...