Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

327
Views
MOD_WSGI cannot locate Oracle instantclient library

I have a flask app running on Apache server using mod_wsgi. Everything works fine until I try to access the database using cx_Oracle. At that moment I get the following error:

sqlalchemy.exc.DatabaseError: (cx_Oracle.DatabaseError) DPI-1047: Cannot locate a 64-bit Oracle Client library: "The specified module could not be found". See https://oracle.github.io/odpi/doc/installation.html#windows for help.

I have added the client library path to the os environment variables. It works well if I start the application from Pycharm IDE.

I have even added the following line in my .wsgi file.

sys.path.append('D:\FlaskDev\instantclient_11_2')

Can anyone help? Thanks in advance

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

If your python is 64Bits you must to use an 64 instant client too. Try to follow this instructions.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!