Python DLL load failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Michelle Lermon
    New Member
    • Aug 2010
    • 7

    Python DLL load failed

    I am trying to import cx_Oracle. I am using Python 3.1 and have the correct cx_Oracle installed for python 3.1 and also the Oracle 10 I am using. I had it working and am not sure how I got it to work, but it no longer works and I do not know how to fix it.

    It is in my system path.

    Michelle
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    Check your Python path. There is a recent thread with the same problem here.

    Comment

    • Michelle Lermon
      New Member
      • Aug 2010
      • 7

      #3
      I did see that thread and it doesn't really solve the problem. When I do the following:
      import sys
      sys.path

      I see the folder where the cx_Oracle is located. So I know that it is in the path.

      Comment

      • bvdet
        Recognized Expert Specialist
        • Oct 2006
        • 2851

        #4
        Try this. Assuming the folder in which the file resides is named "folder":
        Code:
        from folder import cx_Oracle

        Comment

        Working...