1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Can I use MySQL data in Nodebox?

Posted by piupiu on Mar 11, 2009

Can I install adodb (or another library) on nodebox?


 
Posted by piupi on Mar 11, 2009

I read this topic, and follow instructions.

MySQLdb path on my system is: /Library/Python/2.5/site-packages/MySQL_python-1.2.2-py2.5-macosx-10.5-i386.egg/MySQLdb

Beginning of script:

import sys
sys.path.append('/Library/Python/2.5/site-packages/MySQL_python-1.2.2-py2.5-macosx-10.5-i386.egg/MySQLdb')
 
import MySQLdb
But MySQLdb not importing: «No module named MySQLdb».

And in python installed on MacOS it's okay.

How to import this library?



Posted by piupiu on Mar 11, 2009

I found the mistake, I'm using wrong path