Forums

Unable to connect to external oracle database from pythonanywhere

DPI error cannot locate a 64 but oracle client library libclntsh.so cannot open shared object file, no such file or directory..

From my local windows machine I could connect easily. But from pythonanywhere, getting the above error..

Pls suggest..

Am using free tier account

To add further, I downloaded oracle client files for Linux and copied to the same directory as my app.py file..

App.py is my starting file

Free accounts have restricted internet access on PythonAnywhere -- if you want to connect to an external db, you need to upgrade your account.