This is the Python version of a post I made about Ruby a few days ago.
Now that Mac OS X 10.6 is out, it?s time to leave the world of 32 bit computing behind. The pre-installed Python interpreter will run in 64 bit mode by default, so you may need to pay attention when installing some C-based eggs.
Assuming you have DB2 Express-C installed already, the ibm_db Python egg for DB2 can easily be installed by following these simple steps:
This will install the ibm_db C driver, and the ibm_db_dbi Python module that complies to the DB-API 2.0 specification.
You can verify that the installation was successful my running the following:
Now, for the Django adapter, install Django first (if you haven?t done so already):
The Django adapter can then be installed as follows:
Finally, if have installed SQLAlchemy and wish to install the DB2 adapter for it, run:
Please let me know if you encounter any issues, I?d be glad to help you.
If you enjoyed this post, then make sure you subscribe to my Newsletter and/or Feed.
ceiling fans and lighting glass lighting hanging lighting lighting wholesale lighting wall sconces
Keine Kommentare:
Kommentar veröffentlichen