Oh, the answer to this story, in case anybody finds this via search, is that in windows people are acustomed to skiping the python in
> python initializeDB.py since windows figures it out for you automatically. But this does not work inside of a virtual environment, becuase it grabs the system python, not the on in the virtualenv. On Tue, Dec 30, 2008 at 9:18 AM, Artem Marchenko <[email protected]> wrote: > > Hi > > I installed fresh Python 2.5 just for turbogears trials. Anyway, the > next day TG 2 beta1 has been releases and prebuilt installers were > able to install everything. Now my turbogears installation seems to be > unable to locate zope.sqlalchemy, but that's a different story. > > Best regards, > Artem. > > On Dec 30, 2:59 pm, "Diez B. Roggisch" <[email protected]> wrote: >> Artem Marchenko schrieb: >> >> >> >> >> >> > Hi All >> >> > I decided to give TG2 a try and started following >> >http://turbogears.org/2.0/docs/main/DownloadInstall.htmlcarefully. >> > Unfortunately I got stuck on the 3rd step already. When trying to >> > create a virtual environment on Windows (Vista with disabled UAC if it >> > matters) the virtualenv script crashes all the time with the following >> > error. What am I doing wrong? >> >> > -------------------- >> >> > C:\Artem\WorkArea\tgplayground>virtualenv --no-site-packages tg2env >> > New python executable in tg2env\Scripts\python.exe >> > Installing setuptools............... >> > Complete output from command tg2env\Scripts\python.exe -c "#!python >> > \"\"\"Bootstrap setuptoo... >> >> > " C:\Python25\lib\site-packages\...5.egg: >> > Processing setuptools-0.6c9-py2.5.egg >> > Removing c:\artem\workarea\tgplayground\tg2env\lib\site-packages >> > \setuptools-0.6c >> > 9-py2.5.egg >> > Copying setuptools-0.6c9-py2.5.egg to c:\artem\workarea\tgplayground >> > \tg2env\lib\ >> > site-packages >> > setuptools 0.6c9 is already the active version in easy-install.pth >> > Installing easy_install-script.py script to C:\Artem\WorkArea >> > \tgplayground\tg2en >> > v\Scripts >> > Installing easy_install.exe script to C:\Artem\WorkArea\tgplayground >> > \tg2env\Scri >> > pts >> > Installing easy_install-2.5-script.py script to C:\Artem\WorkArea >> > \tgplayground\t >> > g2env\Scripts >> > Installing easy_install-2.5.exe script to C:\Artem\WorkArea >> > \tgplayground\tg2env\ >> > Scripts >> >> > Installed c:\artem\workarea\tgplayground\tg2env\lib\site-packages >> > \setuptools-0.6 >> > c9-py2.5.egg >> > Processing dependencies for setuptools==0.6c9 >> > Finished processing dependencies for setuptools==0.6c9 >> > ---------------------------------------- >> > ...Installing setuptools...done. >> > Traceback (most recent call last): >> > File "C:\Python25\Scripts\virtualenv-script.py", line 8, in <module> >> > load_entry_point('virtualenv==1.3.2', 'console_scripts', >> > 'virtualenv')() >> > File "c:\python25\lib\site-packages\virtualenv-1.3.2-py2.5.egg >> > \virtualenv.py", >> > line 420, in main >> > unzip_setuptools=options.unzip_setuptools) >> > File "c:\python25\lib\site-packages\virtualenv-1.3.2-py2.5.egg >> > \virtualenv.py", >> > line 685, in create_environment >> > install_setuptools(py_executable, unzip=unzip_setuptools) >> > File "c:\python25\lib\site-packages\virtualenv-1.3.2-py2.5.egg >> > \virtualenv.py", >> > line 295, in install_setuptools >> > cwd=cwd) >> > File "c:\python25\lib\site-packages\virtualenv-1.3.2-py2.5.egg >> > \virtualenv.py", >> > line 481, in call_subprocess >> > % (cmd_desc, proc.returncode)) >> > OSError: Command tg2env\Scripts\python.exe -c "#!python >> > \"\"\"Bootstrap setuptoo... >> >> > " C:\Python25\lib\site-packages\...5.egg failed with error code >> > -1073741819 >> >> > C:\Artem\WorkArea\tgplayground> >> > -------------------- >> >> > Thank you for your attention. >> >> I've never seen such a problem, it looks rather bad. Might it be that >> your python installation is botched? >> >> Diez- Hide quoted text - >> >> - Show quoted text - > > > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

