For reference:
wbebrunsonlx(~)$ uname -a
Linux wbebrunsonlx 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006 i686
i686 i386 GNU/Linux
wbebrunsonlx(~)$ python -V
Python 2.4.3
wbebrunsonlx(~)$ sudo easy_install setuptools
Searching for setuptools
Best match: setuptools 0.6c1
Processing setuptools-0.6c1-py2.4.egg
setuptools 0.6c1 is already the active version in easy-install.pth
Installing easy_install script to /usr/bin
Installing easy_install-2.4 script to /usr/bin
Using /usr/lib/python2.4/site-packages/setuptools-0.6c1-py2.4.egg
Processing dependencies for setuptools
wbebrunsonlx(~)$ sudo easy_install turbogears
Searching for turbogears
Best match: TurboGears 0.9a8
Processing TurboGears-0.9a8-py2.4.egg
TurboGears 0.9a8 is already the active version in easy-install.pth
Installing tg-admin script to /usr/bin
Using /usr/lib/python2.4/site-packages/TurboGears-0.9a8-py2.4.egg
Processing dependencies for turbogears
???
I don't see any instructions on how to upgrade to 1.0 on that page,
just a mention that 1.0b1 exists. And a pointer to downloading the dev
version from svn.
The most recent upgrade instructions on that page are headed:
Updating from 0.9x to 0.9a5
I just svn up'd and ran setup.py develop, only for the process to fail
because the required TurboKid version was missing:
+ No local packages or download links found for TurboKid>=0.9.9
+ error: Could not find suitable distribution for
Requirement.parse('TurboKid>=0.9.9')
So, I followed the easy_install instructions on the page referenced ---
and experienced exactly the same failure, which is ironic because I use
Genshi exclusively.
Any ideas?
easy_install -Uf http://www.turbogears.org/download/index.html
TurboGears
TurboKid is still a requirement because some part of turbogears
(catwalk, the widgets, etc) use it.
Actually, the instructions to update to the current version are given
at the top above the 0.9x to 0.9a5.
easy_install -Uf http://www.turbogears.org/download/index.html TurboGears
You must specify the URL, as it has changed from the 0.9 releases.
Now, when I try to run TG I get:
pkg_resources.VersionConflict: (TurboKid 0.9.8
(/usr/lib/python2.4/site-packages/TurboKid-0.9.8-py2.4.egg),
Requirement.parse('TurboKid>=0.9.9'))
I will delete *everything* TG and reinstall from scratch. Good job this
is happening on the development server. I'm seriously not looking
forward to upgrading the production server.
$ sudo easy_install -U TurboGears
instead of
$ easy_install turbogears (won't update your current version)
Graham Higgins wrote:
>
> Now, when I try to run TG I get:
>
> pkg_resources.VersionConflict: (TurboKid 0.9.8
> (/usr/lib/python2.4/site-packages/TurboKid-0.9.8-py2.4.egg),
> Requirement.parse('TurboKid>=0.9.9'))
>
Graham:
I'm not sure is the version changed,
but here's a quickfix from your log,
you may try to edit
"/usr/lib/python2.4/site-packages/turbogears.../turbogears/setup.py"
There's a "install_requires" list that contains "TurboKid >= 0.9.8"
Maybe in your version the value is changed to "TurboKid >= 0.9.9"(Which
isn't released yet)
--
Fred
> Looks like debian packages might not be such a bad idea (hmm or
> rpm?)! [...]
I don't know if you already know this, but the Debian packages have
already been made for version 1.0b1.
They have just (three days ago) been uploaded to unstable:
http://packages.debian.org/unstable/python/python-turbogears
I was kind of relieved when I found them since the easy_install
installation procedure seem very alian to me.
--
Martin Geisler --- <mgei...@mgeisler.net> --- http://mgeisler.net
Read, write, create Exif data in PHP with PEL: http://pel.sf.net
Take control of your webserver with PHP Shell: http://phpshell.sf.net