On Sun, Sep 28, 2008 at 11:50 PM, Eric <[EMAIL PROTECTED]> wrote: > > Hi all, > I'm fairly new to Python and new to Turbogears (1.9.7a4) using Python > 2.5 on Win XP. I have set up a virtual environment (virtualenv c: > \tg2env --no-site-packages) and can successfully get the demo page to > come up (paster serve --reload development.ini). When I try to init > the database per the tutorial (python initializeDB.py) I get: > > (tg2env) C:\tg2env\Wiki-20>initializeDB.py > Traceback (most recent call last): > File "C:\tg2env\Wiki-20\initializeDB.py", line 1, in <module> > from wiki20.model import DBSession, Page, metadata > File "C:\tg2env\Wiki-20\wiki20\model\__init__.py", line 2, in > <module> > from zope.sqlalchemy import ZopeTransactionExtension > ImportError: No module named zope.sqlalchemy > > If I swap the zope.sqlalchemy import statement with the next statement > in __init__.py (sqlalchemy.orm import) it throws the same No module > error. I used the python interpreter to check the path:
This certainly seems like an installation error. could you check the output of the "info" command to see exactly which packages you are running? or you could run python setup.py develop on your tg project as that will check all dependencies and be sure they are in place. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

