I have been downloaded the MySQL user folder version 0.5.3 and MySQLdb 0.3.4 into my website products, the Zope version is 2.3 ,but when i restart my zope it shows that the MySQL user folder is broken and the traceback is like this:- Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite\lib\python\OFS\Application.py", line 530, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite\lib\python\Products\mysqlUserFolder\__init__.py", line 12, in ? import mysqlUserFolder File "C:\Program Files\WebSite\lib\python\Products\mysqlUserFolder\mysqlUserFolder.py", line 11, in ? import cfg, util, vdb, db, log File "C:\Program Files\WebSite\lib\python\Products\mysqlUserFolder\vdb.py", line 16, in ? from db import dbConnection File "C:\Program Files\WebSite\lib\python\Products\mysqlUserFolder\db.py", line 10, in ? import MySQLdb, _mysql ImportError: No module named MySQLdb i have tried to copy the MySQLdb into website/bin/lib and also on top of the website but still not work. Please let me know as soon as possible TQ! _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
On Thursday 22 March 2001 19:39, you wrote:
I have been downloaded the MySQL user folder version 0.5.3 and MySQLdb 0.3.4 into my website products, the Zope version is 2.3 ,but when i restart my zope it shows that the MySQL user folder is broken and the traceback is like this:-
ImportError: No module named MySQLdb
i have tried to copy the MySQLdb into website/bin/lib and also on top of the website but still not work.
Please let me know as soon as possible TQ!
You haven't installed MySQLdb properly. python interpreter that runs zope can't find it. If you are using source version of MySQLdb, you have to compile it and install under site-packages directory of your python interpreter.
participants (2)
-
angie tel -
Vladimir Petrovic