Python Oracle Interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cpiyush
    New Member
    • Jan 2007
    • 31

    #1

    Python Oracle Interface

    Hello,

    When I am trying to install any MySQLDB or Oracle API on python2.4, I am getting this error & the setup got aborted everytime, the error msg is:-

    error: The .NET Framework SDK needs to be installed before building extensions for Python.

    Can you tell me the reason & solution for this error.

    Thanks.
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by cpiyush
    Hello,

    When I am trying to install any MySQLDB or Oracle API on python2.4, I am getting this error & the setup got aborted everytime, the error msg is:-

    error: The .NET Framework SDK needs to be installed before building extensions for Python.

    Can you tell me the reason & solution for this error.

    Thanks.
    That error is from a compiler. You can install the python package called 'python-mysqld' with no problems. I believe the compiler will need the SDK to work.

    Comment

    • bartonc
      Recognized Expert Expert
      • Sep 2006
      • 6478

      #3
      Originally posted by bartonc
      That error is from a compiler. You can install the python package called 'python-mysqld' with no problems. I believe the compiler will need the SDK to work.
      Perhaps you have tried to run a script called "setup.py". ? This is not the way to install a package. On windows, get the .msi installer binary file to automatically install.

      Comment

      • cpiyush
        New Member
        • Jan 2007
        • 31

        #4
        Originally posted by bartonc
        Perhaps you have tried to run a script called "setup.py". ? This is not the way to install a package. On windows, get the .msi installer binary file to automatically install.
        Yes I tried the "setup.py" with its option 'install'. OK I will be specific to tell that I tried to install "eGenix mx-Extension Series for Python". They mentioned to use "python setup.py install" command to install it as no .msi file was provided with it.

        Can you tell me the procedure for this?

        Comment

        • bartonc
          Recognized Expert Expert
          • Sep 2006
          • 6478

          #5
          Originally posted by cpiyush
          Yes I tried the "setup.py" with its option 'install'. OK I will be specific to tell that I tried to install "eGenix mx-Extension Series for Python". They mentioned to use "python setup.py install" command to install it as no .msi file was provided with it.

          Can you tell me the procedure for this?
          I'm using eGenix mx on Windows. I installed "egenix-mx-commercial-2.0.7.win32-py2.4.exe", so they have binary installers. You understand that this is for ODBC connection, right?

          Comment

          • cpiyush
            New Member
            • Jan 2007
            • 31

            #6
            Originally posted by bartonc
            I'm using eGenix mx on Windows. I installed "egenix-mx-commercial-2.0.7.win32-py2.4.exe", so they have binary installers. You understand that this is for ODBC connection, right?
            Ok.
            I got it now. Let me try this & then I will put that what I was doing & where was I wrong.

            btw Thanks a lot bartonc for giving concern to my problem.

            Comment

            • bartonc
              Recognized Expert Expert
              • Sep 2006
              • 6478

              #7
              Originally posted by cpiyush
              Ok.
              I got it now. Let me try this & then I will put that what I was doing & where was I wrong.

              btw Thanks a lot bartonc for giving concern to my problem.
              You are quite welcome. I have written connection (I call it a server) class. Everything is posted in Python>Code forum. See the announcement at the top of the page for a link.

              Comment

              • cpiyush
                New Member
                • Jan 2007
                • 31

                #8
                Python Oracle Interface

                Hi.

                I am a novice user for Python-Orcale interface.

                I have installed the "eGenix.com mx Extension Series for Python" an Oracle interface to Python (egenix-mx-base-2.0.6.win32-py2.4.exe).

                But I don't know how to use it. There is no documentation provided with this.

                Can you help me please that how to start with this?

                Regards,

                Piyush Chechani

                Comment

                • bartonc
                  Recognized Expert Expert
                  • Sep 2006
                  • 6478

                  #9
                  Originally posted by cpiyush
                  Hi.

                  I am a novice user for Python-Orcale interface.

                  I have installed the "eGenix.com mx Extension Series for Python" an Oracle interface to Python (egenix-mx-base-2.0.6.win32-py2.4.exe).

                  But I don't know how to use it. There is no documentation provided with this.

                  Can you help me please that how to start with this?

                  Regards,

                  Piyush Chechani
                  In This post I've given a class that uses that package. Check it out and post here with questions.

                  Comment

                  • cpiyush
                    New Member
                    • Jan 2007
                    • 31

                    #10
                    Originally posted by bartonc
                    In This post I've given a class that uses that package. Check it out and post here with questions.
                    Hi...

                    Can you plz provide me any kind of document related to this..which helps me in understanding this inteface more properly.

                    Thanks.

                    Comment

                    • bartonc
                      Recognized Expert Expert
                      • Sep 2006
                      • 6478

                      #11
                      Originally posted by cpiyush
                      Hi...

                      Can you plz provide me any kind of document related to this..which helps me in understanding this inteface more properly.

                      Thanks.
                      On my system, the ODBC docs are in "D:\Python24\Li b\site-packages\mx\ODB C\Doc". It's an HTML doc that matches what's on the web site.

                      Comment

                      • bartonc
                        Recognized Expert Expert
                        • Sep 2006
                        • 6478

                        #12
                        Originally posted by bartonc
                        On my system, the ODBC docs are in "D:\Python24\Li b\site-packages\mx\ODB C\Doc". It's an HTML doc that matches what's on the web site.
                        Here is the web link.

                        Comment

                        • cpiyush
                          New Member
                          • Jan 2007
                          • 31

                          #13
                          Originally posted by bartonc
                          On my system, the ODBC docs are in "D:\Python24\Li b\site-packages\mx\ODB C\Doc". It's an HTML doc that matches what's on the web site.
                          Hi..

                          Actually I was looking in docs of BASE PACKAGE, & there is no information about connection object.
                          But now I got it at http://www.egenix.com/files/python/D...tml#connection.

                          Thanks.

                          Comment

                          • bartonc
                            Recognized Expert Expert
                            • Sep 2006
                            • 6478

                            #14
                            Originally posted by cpiyush
                            Hi..

                            Actually I was looking in docs of BASE PACKAGE, & there is no information about connection object.
                            But now I got it at http://www.egenix.com/files/python/D...tml#connection.

                            Thanks.
                            Thanks for that link.

                            Comment

                            Working...