|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
Installing TG2 issue on OSX10.5.4Hi 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 -i http://www.turbogears.org/2.0/downloads/current/index tg.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/pkgutil.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.7rc1-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 turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4Hi Lucas, on osx i had some problems with apple default python and virtualenv, i resolved installing official python from here: http://www.python.org/download/ On 19 Set, 15:08, Luke Hamilton <luke.hamil...@...> 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/pkg u > 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.7 r > 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 turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4From: mbertoldi <michele.bertoldi@...> Reply-To: TurboGears <turbogears@...> Date: Fri, 19 Sep 2008 12:21:09 -0500 To: TurboGears <turbogears@...> Subject: [TurboGears] Re: Installing TG2 issue on OSX10.5.4 Hi Lucas, on osx i had some problems with apple default python and virtualenv, i resolved installing official python from here: http://www.python.org/download/ On 19 Set, 15:08, Luke Hamilton <luke.hamil...@...> 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/pkg u > 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.7 r > 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 turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4I have not had time to do this and realistically I won't in the next couple of weeks, but I think it would be helpful to talk to Ian Bicking about python/virtualenv/osx issues and see if we can't get him enough information to help get this resolved in virtualenv. So, if anybody who's been bit by this wants to report it and help debug I would personally be very grateful, as would hords of osx users who want to use TurboGears on their macs. --Mark Ramm On Fri, Sep 19, 2008 at 1:21 PM, mbertoldi <michele.bertoldi@...> wrote: > > Hi Lucas, > on osx i had some problems with apple default python and virtualenv, > i resolved installing official python from here: http://www.python.org/download/ > > > On 19 Set, 15:08, Luke Hamilton <luke.hamil...@...> 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/pkg u >> 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.7 r >> 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 > > > -- 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 turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4On Sep 22, 12:47 pm, "Mark Ramm" <mark.mchristen...@...> wrote: > I have not had time to do this and realistically I won't in the next > couple of weeks, but I think it would be helpful to talk to Ian > Bicking about python/virtualenv/osx issues and see if we can't get him > enough information to help get this resolved in virtualenv. > > So, if anybody who's been bit by this wants to report it and help > debug I would personally be very grateful, as would hords of osx users > who want to use TurboGears on their macs. Maybe the answers are in here: http://groups.google.com/group/python-virtualenv/browse_frm/thread/e33c2dc94e6196a1?hl=en If changes talked about in that have been done, maybe try virtualenv from source repository where ever that is. Graham > --Mark Ramm > > > > On Fri, Sep 19, 2008 at 1:21 PM, mbertoldi <michele.berto...@...> wrote: > > > Hi Lucas, > > on osx i had some problems with apple default python and virtualenv, > > i resolved installing official python from here:http://www.python.org/download/ > > > On 19 Set, 15:08, Luke Hamilton <luke.hamil...@...> 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/pkg u > >> 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.7 r > >> 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 > > -- > 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 turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4If 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 <luke.hamil...@...> 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 turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4By happy coincidence I'll be setting up a new OSX 10.5 system this week, so I will try to dig into this. Doug On Sep 21, 7:47 pm, "Mark Ramm" <mark.mchristen...@...> wrote: > I have not had time to do this and realistically I won't in the next > couple of weeks, but I think it would be helpful to talk to Ian > Bicking about python/virtualenv/osx issues and see if we can't get him > enough information to help get this resolved in virtualenv. > > So, if anybody who's been bit by this wants to report it and help > debug I would personally be very grateful, as would hords of osx users > who want to use TurboGears on their macs. > > --Mark Ramm > > > > On Fri, Sep 19, 2008 at 1:21 PM, mbertoldi <michele.berto...@...> wrote: > > > Hi Lucas, > > on osx i had some problems with apple default python and virtualenv, > > i resolved installing official python from here:http://www.python.org/download/ > > > On 19 Set, 15:08, Luke Hamilton <luke.hamil...@...> 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/pkg u > >> 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.7 r > >> 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 > > -- > 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 turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4On Sep 22, 12:56 pm, pa5cau <ovid...@...> wrote: > If you do the following in the virtual env: > $ easy_install -Zihttp://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. Just gave that a try to no avail. It didn't just work. I was messing around last night with it, and got several different errors when making slight changes to the install process. Finally, I wound up breaking my default python install :/ Don't ask. >Maybe the answers are in here: > http://groups.google.com/group/python-virtualenv/browse_frm/thread/e3... >If changes talked about in that have been done, maybe try virtualenv >from source repository where ever that is. I tried using the current trunk (i think) from here: http://svn.colorstudy.com/virtualenv/trunk/, but it still didn't work. It looks like the changes mentioned in the thread you posted are in the source though. I couldn't figure out an easy way to test the distribution. The best way I found was to download the tg.devtools package, and modify the setup.cfg to look in http://www.turbogears.org/2.0/downloads/current/index for packages by adding: """ [easy_install] add_link = "http://www.turbogears.org/2.0/downloads/current/index" """ It can't look at PyPi because we know there are no "TurboGears2" project listed yet. Then I had to modify the setup.py file and change the "TurboGears2" entry to "tg.devtools" I also noticed that "Paste" is not listed in the setup.py as a requirement. Grabbing at straws, I think there might be a problem with setuptools 0.6c8 and virtualenv on mac. I'll keep messing around, but at this point, I think that's all I'm doing... ~Sean --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4I experienced some problems in virtualenv 'isolation', on a clean osx install, empty site-packages, all went fine. The problems arise when you have some packages in host site-packages, easy-install wont pull again (even if virtualenv has --no-site- packages option), but python can't use them. So, it could be also an easy_install problem. I did't notice any difference using unzipped eggs instead of zipped ones, but i tried a long ago. I'll try with a fresh osx install to find out more. Michele On 23 Set, 00:11, Sean DiZazzo <half.ital...@...> wrote: > On Sep 22, 12:56 pm, pa5cau <ovid...@...> wrote: > > > If you do the following in the virtual env: > > $ easy_install -Zihttp://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. > > Just gave that a try to no avail. It didn't just work. > > I was messing around last night with it, and got several different > errors when making slight changes to the install process. Finally, I > wound up breaking my default python install :/ Don't ask. > > >Maybe the answers are in here: > > http://groups.google.com/group/python-virtualenv/browse_frm/thread/e3... > >If changes talked about in that have been done, maybe try virtualenv > >from source repository where ever that is. > > I tried using the current trunk (i think) from here:http://svn.colorstudy.com/virtualenv/trunk/, but it still didn't > work. It looks like the changes mentioned in the thread you posted > are in the source though. > > I couldn't figure out an easy way to test the distribution. The best > way I found was to download the tg.devtools package, and modify the > setup.cfg to look inhttp://www.turbogears.org/2.0/downloads/current/index > for packages by adding: > > """ > [easy_install] > add_link = "http://www.turbogears.org/2.0/downloads/current/index" > """ > It can't look at PyPi because we know there are no "TurboGears2" > project listed yet. > > Then I had to modify the setup.py file and change the "TurboGears2" > entry to "tg.devtools" I also noticed that "Paste" is not listed in > the setup.py as a requirement. > > Grabbing at straws, I think there might be a problem with setuptools > 0.6c8 and virtualenv on mac. > > I'll keep messing around, but at this point, I think that's all I'm > doing... > > ~Sean You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4Interesting... It worked perfectly on tiger...10.4.11 On Sep 22, 3:59 pm, mbertoldi <michele.berto...@...> wrote: > I experienced some problems in virtualenv 'isolation', > on a clean osx install, empty site-packages, all went fine. > The problems arise when you have some packages in host site-packages, > easy-install wont pull again (even if virtualenv has --no-site- > packages option), > but python can't use them. > So, it could be also an easy_install problem. > I did't notice any difference using unzipped eggs instead of zipped > ones, but i tried a long ago. > > I'll try with a fresh osx install to find out more. > > Michele > On 23 Set, 00:11, Sean DiZazzo <half.ital...@...> wrote: > > > On Sep 22, 12:56 pm, pa5cau <ovid...@...> wrote: > > > > If you do the following in the virtual env: > > > $ easy_install -Zihttp://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. > > > Just gave that a try to no avail. It didn't just work. > > > I was messing around last night with it, and got several different > > errors when making slight changes to the install process. Finally, I > > wound up breaking my default python install :/ Don't ask. > > > >Maybe the answers are in here: > > > http://groups.google.com/group/python-virtualenv/browse_frm/thread/e3... > > >If changes talked about in that have been done, maybe try virtualenv > > >from source repository where ever that is. > > > I tried using the current trunk (i think) from here:http://svn.colorstudy.com/virtualenv/trunk/, but it still didn't > > work. It looks like the changes mentioned in the thread you posted > > are in the source though. > > > I couldn't figure out an easy way to test the distribution. The best > > way I found was to download the tg.devtools package, and modify the > > setup.cfg to look inhttp://www.turbogears.org/2.0/downloads/current/index > > for packages by adding: > > > """ > > [easy_install] > > add_link = "http://www.turbogears.org/2.0/downloads/current/index" > > """ > > It can't look at PyPi because we know there are no "TurboGears2" > > project listed yet. > > > Then I had to modify the setup.py file and change the "TurboGears2" > > entry to "tg.devtools" I also noticed that "Paste" is not listed in > > the setup.py as a requirement. > > > Grabbing at straws, I think there might be a problem with setuptools > > 0.6c8 and virtualenv on mac. > > > I'll keep messing around, but at this point, I think that's all I'm > > doing... > > > ~Sean You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4Dolt...That wasn't a system python. Sorry for clutter. On Sep 22, 8:24 pm, Sean DiZazzo <half.ital...@...> wrote: > Interesting... It worked perfectly on tiger...10.4.11 > > On Sep 22, 3:59 pm, mbertoldi <michele.berto...@...> wrote: > > > I experienced some problems in virtualenv 'isolation', > > on a clean osx install, empty site-packages, all went fine. > > The problems arise when you have some packages in host site-packages, > > easy-install wont pull again (even if virtualenv has --no-site- > > packages option), > > but python can't use them. > > So, it could be also an easy_install problem. > > I did't notice any difference using unzipped eggs instead of zipped > > ones, but i tried a long ago. > > > I'll try with a fresh osx install to find out more. > > > Michele > > On 23 Set, 00:11, Sean DiZazzo <half.ital...@...> wrote: > > > > On Sep 22, 12:56 pm, pa5cau <ovid...@...> wrote: > > > > > If you do the following in the virtual env: > > > > $ easy_install -Zihttp://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. > > > > Just gave that a try to no avail. It didn't just work. > > > > I was messing around last night with it, and got several different > > > errors when making slight changes to the install process. Finally, I > > > wound up breaking my default python install :/ Don't ask. > > > > >Maybe the answers are in here: > > > > http://groups.google.com/group/python-virtualenv/browse_frm/thread/e3... > > > >If changes talked about in that have been done, maybe try virtualenv > > > >from source repository where ever that is. > > > > I tried using the current trunk (i think) from here:http://svn.colorstudy.com/virtualenv/trunk/, but it still didn't > > > work. It looks like the changes mentioned in the thread you posted > > > are in the source though. > > > > I couldn't figure out an easy way to test the distribution. The best > > > way I found was to download the tg.devtools package, and modify the > > > setup.cfg to look inhttp://www.turbogears.org/2.0/downloads/current/index > > > for packages by adding: > > > > """ > > > [easy_install] > > > add_link = "http://www.turbogears.org/2.0/downloads/current/index" > > > """ > > > It can't look at PyPi because we know there are no "TurboGears2" > > > project listed yet. > > > > Then I had to modify the setup.py file and change the "TurboGears2" > > > entry to "tg.devtools" I also noticed that "Paste" is not listed in > > > the setup.py as a requirement. > > > > Grabbing at straws, I think there might be a problem with setuptools > > > 0.6c8 and virtualenv on mac. > > > > I'll keep messing around, but at this point, I think that's all I'm > > > doing... > > > > ~Sean You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Installing TG2 issue on OSX10.5.4 |