Looking for Python 3.3 64 bit egg file for ibm_db

433 views
Skip to first unread message

Ganesh Radhakrishnan

unread,
Aug 13, 2013, 1:27:11 PM8/13/13
to ibm...@googlegroups.com

I have installed python 3.3 64 bit in Windows 7 64 bit machine. I would like to connect to db2 which is in a remote server but I was unable to find 64 bit egg file for ibm_db in the website. Is there an alternate location for downloading the same.

Regards,
Ganesh.

Rahul

unread,
Aug 14, 2013, 4:12:36 AM8/14/13
to ibm...@googlegroups.com
Hi Ganesh,
 Currently 64-bit window build ibm_db egg  for Python-3.3.x is not available. Official version of Python-3.3.x is build with Visual Studio 2010 so, you need VS2010 on your machine for building ibm_db.

To build ibm_db from source for python-3.3 64 bit follow following steps
1) download ibm_db source code from https://pypi.python.org/pypi/ibm_db/ and extract it
2) Edit setup.py and modify line # 60 to "library = ['db2cli64']"
2) Open Windows SDK-7.1 CMD Shell and issue "setenv /x64 /release"
3) Issue command "set IBM_DB_HOME=<path to SQLLIB or IBM DATA SERVER DRIVER>"
4) Go to the ibm_db directory
5) Issue command "python setup.py build" to build ibm_db
6) Issue command "python setup.py install" to install ibm_db extension

In case of any issue please let me know.

Thanks,
Rahul

Rahul

unread,
Aug 16, 2013, 4:40:50 AM8/16/13
to ibm...@googlegroups.com
Hi Ganesh,
 Now 64-bit window build egg of Python-3.3.x is available at https://pypi.python.org/pypi/ibm_db and http://code.google.com/p/ibm-db/downloads/list. You can use it directly.

Thanks,
Rahul

Gugu Rama

unread,
Jun 18, 2017, 10:52:34 PM6/18/17
to ibm_db
Hi Rahul,

I know its a very ignorant question, but i simply dont know what exactly "path_to-sqllib" mean.. i mean for IBM_DB_HOME=<path_to_sqllib> which path i must define, is it a lib path in my Windows, or the library in the DB2 (in AS400 DB2 everything is in library format).. if its the lib path in my Windows environment, where exactly is defined as the "sqllib"? 

Thank you,
Gulsum

16 Ağustos 2013 Cuma 11:40:50 UTC+3 tarihinde Rahul yazdı:

Gugu Rama

unread,
Jun 18, 2017, 10:52:34 PM6/18/17
to ibm_db
My reply is gone and i check whats wrong..


16 Ağustos 2013 Cuma 11:40:50 UTC+3 tarihinde Rahul yazdı:
Hi Ganesh,
Reply all
Reply to author
Forward
0 new messages