#2252: TG2 Installation Issues
------------------------+---------------------------------------------------
 Reporter:  pedersen    |       Owner:        
     Type:  defect      |      Status:  new   
 Priority:  normal      |   Milestone:  2.0rc1
Component:  TurboGears  |     Version:  2.0b6 
 Severity:  normal      |    Keywords:        
------------------------+---------------------------------------------------
 I apologize if this information is duplicated across other tickets. I did
 search, but was unable to find these errors listed. I also found that I
 needed to modify all URLs, so as to get them past the spam filter. They're
 all the same link, pointing back to TurboGears web site, but that's not
 something consider by the spam filter.

 Following the directions here:
 http://www.turbogears.org/2.0/docs/main/DownloadInstall.html

 Installation is very difficult to complete. Using the automatic
 installation and the manual installation results in the same errors. The
 first one is known, and is the "repoze.who" error. The remainder, though,
 is problematic. I find that I must go through the following steps to make
 it work:

 (virtualenv and activate get completed, then)

 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools

 (repoze.who errors)

 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools

 {{{
 Searching for prioritized-methods>=0.2
 Reading http : /
 /www.turbogears.org/2.0/downloads/current/index/prioritized_methods/
 Reading http : / /www.turbogears.org/2.0/downloads/current/index
 /prioritized-methods/
 Couldn't retrieve index page for 'prioritized_methods'
 Scanning index of all packages (this may take a while)
 Reading http : / /www.turbogears.org/2.0/downloads/current/index/
 No local packages or download links found for prioritized-methods>=0.2
 error: Could not find suitable distribution for Requirement.parse
 ('prioritized-methods>=0.2')
 }}}

 easy_install "prioritized-methods>=0.2"

 This succeeds, so back to

 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools

 {{{
 Installed /home/mpedersen/tg2env/lib/python2.5/site-
 packages/WebOb-0.9.5-py2.5.egg
 error: Installed distribution simplejson 1.9.1 conflicts with requirement
 simplejson>=2.0.4
 }}}

 easy_install "simplejson>=2.0.4"

 This succeeds, so back to

 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools

 {{{
 Processing dependencies for tg.devtools
 error: Installed distribution WebOb 0.9.5 conflicts with requirement
 WebOb>=0.9.6.1
 }}}

 easy_install "WebOb>=0.9.6.1"

 This succeeds, so back to

 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools

 {{{
 Searching for PasteDeploy>=1.3.3
 Reading http://www.turbogears.org/2.0/downloads/current/index/PasteDeploy/
 No local packages or download links found for PasteDeploy>=1.3.3
 error: Could not find suitable distribution for
 Requirement.parse('PasteDeploy>=1.3.3')
 }}}

 easy_install "PasteDeploy>=1.3.3"

 This succeeds, so back to

 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools

 {{{
 Searching for Beaker>=1.2.2
 Reading http://www.turbogears.org/2.0/downloads/current/index/Beaker/
 No local packages or download links found for Beaker>=1.2.2
 error: Could not find suitable distribution for
 Requirement.parse('Beaker>=1.2.2')
 }}}

 easy_install "Beaker>=1.2.2"

 This succeeds, so back to

 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools

 {{{
 Searching for WebHelpers>=0.6.4
 Reading http://www.turbogears.org/2.0/downloads/current/index/WebHelpers/
 No local packages or download links found for WebHelpers>=0.6.4
 error: Could not find suitable distribution for
 Requirement.parse('WebHelpers>=0.6.4')
 }}}

 easy_install "WebHelpers>=0.6.4"

 This succeeds, so back to

 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools

 {{{
 Searching for Routes>=1.10.3
 Reading http://www.turbogears.org/2.0/downloads/current/index/Routes/
 No local packages or download links found for Routes>=1.10.3
 error: Could not find suitable distribution for
 Requirement.parse('Routes>=1.10.3')
 }}}

 easy_install "Routes>=1.10.3"

 This succeeds, so back to

 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools

 And this finally succeeds. "paster --help" gives a traceback, though,
 complaining about a missing "Cheetah" package. This is fixed with

 easy_install "Cheetah>=2.0.1"

 To get a clean environment, I'm taking the following steps right now:

 {{{
 virtualenv --no-site-packages tg2env
 cd tg2env
 source bin/activate
 easy_install "repoze.who"
 easy_install "prioritized-methods>=0.2"
 easy_install "simplejson>=2.0.4"
 easy_install "WebOb>=0.9.6.1"
 easy_install "PasteDeploy>=1.3.3"
 easy_install "Beaker>=1.2.2"
 easy_install "WebHelpers>=0.6.4"
 easy_install "Routes>=1.10.3"
 easy_install "Cheetah>=2.0.1"
 easy_install -i http : / / www.turbogears.org/2.0/downloads/current/index
 tg.devtools
 }}}

 That will finally get an installation where "paster --help" runs to
 completion without error, and produce no errors during the install
 process.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2252>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to