Menu

installing with zope, module confusion

Help
2001-11-09
2012-09-19
  • Jacob Singh

    Jacob Singh - 2001-11-09

    So this is my prob:
    I've got Python 2.1 installed in the standard redhat way.  I've installed MySQLDB and it works great.  Only problem is, I want to use it with Zope and ZMySQLDB can't find the module _mysql.  Why not? This took me about a day to figure out, but Zope runs on it's own python interpreter (2.1.1) in the zope/bin directory.  This version of python, knows nothing of MySQLDB.  I tried running the setup.py install script from that interpreter, but I got some path error, any help would be GREATLY appreciated. thanx,
    J

     
    • Andy Dustman

      Andy Dustman - 2001-11-12

      Try this:

      python2.1 setup.py build
      python2.1 setup.py install --install-lib $ZOPEHOME/lib/python

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.