If you do the following in the virtual env:
$ easy_install -Zi http://www.turbogears.org/2.0/downloads/current/index
tg.devtools
(force to unzip the eggs)
then it works without problems using the default python installation.


On Sep 19, 9:08 am, Luke Hamilton <[EMAIL PROTECTED]> wrote:
> Hi ppl,
>
> I have just followed the easy_install doc¹o
> (http://www.turbogears.org/2.0/docs/main/DownloadInstall.html) to install
> TG2.
>
> Everything downloaded without any errors, but when I ran ³paster ‹help² I
> get the following output:
>
> (tg2)luke-hamiltons-macbook-pro:workspace lukehamilton$ paster --help
> Usage: paster [paster_options] COMMAND [command_options]
>
> Options:
>   --version         show program's version number and exit
>   --plugin=PLUGINS  Add a plugin to the list of commands (plugins are Egg
>                     specs; will also require() the Egg)
>   -h, --help        Show this help message
>
> Commands:
>   create       Create the file layout for a Python distribution
>   help         Display help
>   make-config  Install a package and create a fresh config file/directory
>   points       Show information about entry points
>   post         Run a request for the described application
>   request      Run a request for the described application
>   serve        Serve the described application
>   setup-app    Setup an application, given a config file
>
> And if I try and run easy_install again I get the following output:
>
> (tg2)luke-hamiltons-macbook-pro:workspace lukehamilton$ easy_install 
> -ihttp://www.turbogears.org/2.0/downloads/current/indextg.devtools
> Traceback (most recent call last):
>   File "/Users/lukehamilton/workspace/tg2/bin/easy_install", line 5, in
> <module>
>     from pkg_resources import load_entry_point
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/setuptools-0.
> 6c8-py2.5.egg/pkg_resources.py", line 2581, in <module>
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/setuptools-0.
> 6c8-py2.5.egg/pkg_resources.py", line 640, in subscribe
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/setuptools-0.
> 6c8-py2.5.egg/pkg_resources.py", line 2581, in <lambda>
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/setuptools-0.
> 6c8-py2.5.egg/pkg_resources.py", line 2130, in activate
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/setuptools-0.
> 6c8-py2.5.egg/pkg_resources.py", line 1734, in declare_namespace
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/setuptools-0.
> 6c8-py2.5.egg/pkg_resources.py", line 1749, in declare_namespace
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/setuptools-0.
> 6c8-py2.5.egg/pkg_resources.py", line 1720, in _handle_ns
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/pkgu
> til.py", line 238, in load_module
>     mod = imp.load_module(fullname, self.file, self.filename, self.etc)
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/TurboGears2-1
> .9.7a4-py2.5.egg/tg/__init__.py", line 53, in <module>
>     from tg.wsgiapp import TGApp
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/TurboGears2-1
> .9.7a4-py2.5.egg/tg/wsgiapp.py", line 2, in <module>
>     from pylons.wsgiapp import PylonsApp, class_name_from_module_name
>   File
> "/Users/lukehamilton/workspace/tg2/lib/python2.5/site-packages/Pylons-0.9.7r
> c1-py2.5.egg/pylons/__init__.py", line 2, in <module>
>     from paste.registry import StackedObjectProxy
> ImportError: No module named paste.registry
>
> Any ideas?
>
> Thanks,
> Luke Hamilton

--~--~---------~--~----~------------~-------~--~----~
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