>From the virtualenv's python it looks like both zope and
zope.sqlalchemy are indeed registered and are found in the correct
place. Strange: http://paste.turbogears.org/paste/22610

Artem.

On Dec 30, 11:23 pm, Artem Marchenko <[email protected]>
wrote:
> correction: there is python.exe in c:\tg2.0b1\Scripts
>
> On Dec 30, 11:21 pm, Artem Marchenko <[email protected]>
> wrote:
>
> > Hi Mark
>
> > After deactivating virtualenv I've got the same error: zope.sqlalchemy
> > is missing.
> > Further analysis of your words and tutorial instructions made me think
> > that the clone of the whole python and many libraries should be
> > present in the virtual environment.
>
> > Well, first of all I didn't create any virtual environment at all
> > everything was created by the TG2 windows installer. c:\tg2.0b1
> > directory created by installer contains \Scripts and \Lib with site-
> > packages inside (and zope.sqlalchemy is there), but there is no python
> > interpreter inside.
>
> > OK, maybe windows installer created not 100% correct environment. So I
> > decided to create environment myself following the wiki tutorial.
> > Unfortunately it crashed midway with the error code that looks like
> > some pointer address:http://paste.turbogears.org/paste/22606
> > Couple of days ago (just before the beta1 release) I was trying to
> > install TG2 manually, without the Windows installer and was stuck at
> > exactly the same point. Actually I decided to try the Windows
> > installer because [as I think] it creates virtualenv itself and
> > somehow does it without crash.
>
> > Now I am stuck :)
> > Installer creates not fully working env and manual env creation
> > crashes midway.
>
> > Best regards,
> > Artem.
>
> > On Dec 30, 10:01 pm, "Mark Ramm" <[email protected]> wrote:
>
> > > Looks like zope.sqlalchemy is in the regular python path, but you're 
> > > inside
> > > the virtualenv.
> > > If the virtual environment was setup with --no-site-packages it will not 
> > > see
> > > the system python path, it will have it's own.
>
> > > I wonder if the problem is that you're using the virtual environment when
> > > everything is in the system python.
>
> > > Try running it after deactivating the virtual env, and let me know if that
> > > helps.
>
> > > --Mark
>
> > > 2008/12/30 Artem Marchenko <[email protected]>
>
> > > > Also the zope.sqlalchemy folder seems to be in the python system path:
> > > >http://paste.turbogears.org/paste/22592
>
> > > > On Dec 30, 9:37 pm, Artem Marchenko <[email protected]> wrote:
> > > > > Thanks for the quick reply, Mark!
> > > > > I decided to make a clean experiment, unistalled everything including
> > > > > the python itself and followed the instructions as carefully as I
> > > > > could. So far I failed. Here is a detailed script of what I did. I
> > > > > hope it helps.
>
> > > > > Everything was happening on Windows Vista with disabled UAC.
>
> > > > > 1. Installed TurboGears2-2.0b1-py25_Python-2.5.exe Everything was left
> > > > > as default.
>
> > > > > 2. Then I went to freshly created c:\tg2tr folder and started
> > > > > following the wiki tutorial fromhttp://
> > > > turbogears.org/2.0/docs/main/Wiki20/wiki20.html
>
> > > > > 3. paster and everything else was not in the path so I activated the
> > > > > virtuaenv via c:\tg2.0b1\Scripts\activate.bat After that quickstart
> > > > > worked
>
> > > > > 4. After that several tutorial steps went fine except for that I had
> > > > > to restart the service (since tutorial tells to modify __init__.py
> > > > > before you create page.py)
>
> > > > > 5. At the initializeDB step I get no module zope.sqlalchemy:
> > > >http://paste.turbogears.org/paste/22586
> > > > > At this point "paster tginfo" shows the followinghttp://
> > > > paste.turbogears.org/paste/22587
> > > > > At the same time if I go to C:\tg2.0b1\Lib\site-packages I see there
> > > > > the "zope.sqlalchemy-0.3-py2.5.egg" folder (not file, but folder with
> > > > > just a few *.py files in subdirectories).
>
> > > > > 6. Following your advice I run "easy_install zope.sqlalchemy" and
> > > > > script tells that the correct version is already installed :/
> > > >http://paste.turbogears.org/paste/22589
>
> > > > > Now that makes me really confused. It looks like everything is in fact
> > > > > on my hard drive, but something is correctly registered in half of the
> > > > > registries only.
>
> > > > > On 30 Грд, 18:24, "Mark Ramm" <[email protected]> wrote:
>
> > > > > > Hmm, sounds like perhaps zope.sqlalchemy is missing?
> > > > > > Is your virtualenv activated?   Do you have zope.sqlalchemy in your
> > > > > > virtualenv's site-packages directory (lib, python, site-packages)
>
> > > > > > Can you post a traceback and the results of paster tginfo up on
> > > > > > paste.turbogears.org?
>
> > > > > > I can't reproduce the problem you're seeing on osx or linux, and 
> > > > > > don't
> > > > have
> > > > > > a windows box handy to try the installer.
>
> > > > > > If it's just not having the package try easy_install zope.sqlalchemy
> > > > and see
> > > > > > if that fixes your problem...
>
> > > > > > 2008/12/30 Artem Marchenko <[email protected]>
>
> > > > > > > Thank you for releasing the beta!
> > > > > > > I got acquainted with TG1 long time ago and was delaying the real
> > > > > > > trials until TG2 betas.
> > > > > > > It is indeed possible to install TG including Python with the 
> > > > > > > Windows
> > > > > > > installers.
>
> > > > > > > Unfortunately the wiki20 tutorial doesn't seem to work out of the 
> > > > > > > box
> > > > > > > for me 
> > > > > > > (http://www.nabble.com/2.0-tutorial-problem-td19719317.html).
> > > > > > > Whatever I do, it always fails in the initializeDB step with the
> > > > > > > dependency problems around sqlalchemy or zope.interface (after
> > > > running
> > > > > > > setup.py develop manually).
>
> > > > > > > It would be great if somebody knowledgeable could go through the
> > > > > > > tutorial and tell where to fix it.
>
> > > > > > > Best regards,
> > > > > > > Artem.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to