Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win: clidriver location #99

Closed
juliushacker opened this issue Nov 13, 2023 · 1 comment
Closed

Win: clidriver location #99

juliushacker opened this issue Nov 13, 2023 · 1 comment

Comments

@juliushacker
Copy link
Contributor

Hi everybody,

I'm updating my installations at the moment and stumbled across the fact, that I have to add some commands for ibmdb to work since 3.2.0 - see ibmdb/python-ibmdb#887

Is there a preferred way to add the os.add_dll_directory-Statement in a Django project?

Thanks for any tips on this!

@praveen-db2
Copy link
Collaborator

@juliushacker When you install ibm_db_django and ibm_db , there will be a file called ibm_db_dbi.py installed under LIB/site-packages, inside that file we do "import ibm_db".
After this you can add the os.add_dll_directory-Statement.

I hope this will resolve your issue.

I think you can dd this at any place, but it must be just before Django application connects to ibm_db.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants