Hi there, I can speak a bit on this topic if you want to use the IBM drivers on 64 bit linux for python 3. This is the wrong forum for the discussion, but you're going to have a long week ahead of you trying to find the answer so I can shortcut that for you. The drivers released by IBM are not maintained (last I ran into this problem. The issue is that the drivers are (or were) not functional on 64 bit linux, as of the last time I tested them, and required a binary patch to fix an overflow or some other issue with allocating integer or double space. Luckily we made some internal documentation, a script, and a patched .deb based on some info we stumbled across. The way to get this all working is described in this paste: https://markdownshare.com/view/b66db977-2dab-4cf6-ad2a-2c88fecd7499 Dan Ryan gh: @techalchemy // e: dan@danryan.co
-----Original Message----- From: Nick Coghlan [mailto:ncoghlan@gmail.com] Sent: Friday, July 20, 2018 8:36 AM To: Shivam Satija Cc: DistUtils mailing list Subject: [Distutils]Re: Need help regarding Python and DB2 connectivity
On 19 July 2018 at 04:08, Shivam Satija
wrote: Hi,
I am trying to connect IBM DB2 with python. I am using Python 3.6.0 and want to know if the DB2 connectivity is even possible with this version of python? I have read at various places that only versions 2.x and 3.4 are supported. Is this the case? I am not able to run basic commands like import ibm_db on python 3.6.
Hi Shivam,
distutils-sig would be the place to post if you were having trouble installing Python packages in general, but it isn't the right place to look for information on finding DB2 bindings.
That said, https://pypi.org/project/ibm_db/ reports an update from late last year, so I'd expect it to work with modern releases of Python 3.x
Regards, Nick.
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia