On Tue, Oct 7, 2008 at 6:13 PM, yupu <[EMAIL PROTECTED]> wrote:
>
> Dear Turbogears:
>
> Hi, I have TG1.0.3 on my mac 10.5 and I am trying to install TG2
> through virtualenv.
>
> I followed the instruction from 
> http://www.turbogears.org/2.0/docs/main/DownloadInstall.html
>
> Things went smoothly until I tried paster --help, I got an error about
> an TG1.03 application outside virtualenv :-S
> Traceback (most recent call last):
>  File "/Users/liang/Documents/Python/TurboGears/tg2env/bin/paster",
> line 8, in <module>
>    load_entry_point('PasteScript==1.6.3', 'console_scripts', 'paster')
> ()
>  File "/Users/liang/Documents/Python/TurboGears/tg2env/lib/python2.5/
> site-packages/PasteScript-1.6.3-py2.5.egg/paste/script/command.py",
> line 68, in run
>    commands = get_commands()
>  File "/Users/liang/Documents/Python/TurboGears/tg2env/lib/python2.5/
> site-packages/PasteScript-1.6.3-py2.5.egg/paste/script/command.py",
> line 110, in get_commands
>    plugins = pluginlib.resolve_plugins(plugins)
>  File "/Users/liang/Documents/Python/TurboGears/tg2env/lib/python2.5/
> site-packages/PasteScript-1.6.3-py2.5.egg/paste/script/pluginlib.py",
> line 81, in resolve_plugins
>    pkg_resources.require(plugin)
>  File "build/bdist.linux-i686/egg/pkg_resources.py", line 626, in
> require
>  File "build/bdist.linux-i686/egg/pkg_resources.py", line 524, in
> resolve
> pkg_resources.DistributionNotFound: TurboGears>=1.0.3.2: Not Found
> for: WebReport (did you run python setup.py develop?)
>
> The WebReport is an existing webapplication base on TG1. As I am using
> virturalenv, I am not sure how this project got picked up?
>
> Any though would be helpful as I have no idea how to debug this
> Yupu
>
it means exactly that.

you need to run "python setup.py develop" in order for the project to
install it's dependencies.

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