On the http://www.turbogears.org/preview/download/upgrade.html page,
the link to ez_setup.py is broken. I went ahead and used ez_setup.py
from the main TG site to upgrade setuptools, which seemed to go ok (it
upgraded setuptools to 0.6a10).
When I then tried to upgrade TG I got the following:
[root@localhost gears]# easy_install -f
http://www.turbogears.org/preview/download/index.html TurboGears
Searching for TurboGears
Best match: TurboGears 0.8.9
Processing TurboGears-0.8.9-py2.4.egg
TurboGears 0.8.9 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.8.9-py2.4.egg
Processing dependencies for TurboGears
[root@localhost gears]#
Am I doing something wrong, or is the preview site trying to give me
0.8.9?
I'm all eager to try this out, after lurking for weeks! Thanks for any
help,
Bob
No, you're not doing anything wrong, it seems setuptools is. I had a
similar problem this morning. If you make sure that you're in a
directory that neither contains a setup.py nor a subdirectory with
setup.py everything seems to work as it should.
Obviously this shouldn't be the case, but it worked for me.
> I'm all eager to try this out, after lurking for weeks! Thanks for any
> help,
> Bob
I hope you have fun working with TurboGears! :)
Lee
prompt: sudo python ez_setup.py --script-dir /usr/local/bin -U
setuptools
Searching for setuptools
Reading http://www.python.org/pypi/setuptools/
Reading http://peak.telecommunity.com/DevCenter/setuptools
Best match: setuptools 0.6a10
Downloading
http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6a10-py2.4.egg#md5=803a2d8db501c1ac3b5b6fb4e907f788
Processing setuptools-0.6a10-py2.4.egg
creating /usr/lib/python2.4/site-packages/setuptools-0.6a10-py2.4.egg
Extracting setuptools-0.6a10-py2.4.egg to
/usr/lib/python2.4/site-packages
Removing setuptools 0.6a9 from easy-install.pth file
Adding setuptools 0.6a10 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installed /usr/lib/python2.4/site-packages/setuptools-0.6a10-py2.4.egg
Processing dependencies for setuptools
prompt: sudo easy_install -f
http://www.turbogears.org/download/index.html --script-dir
/usr/local/bin TurboGears
Password:
Searching for TurboGears
Best match: TurboGears 0.8.8
Processing TurboGears-0.8.8-py2.4.egg
TurboGears 0.8.8 is already the active version in easy-install.pth
Installing tg-admin script to /usr/local/bin
Using /usr/lib/python2.4/site-packages/TurboGears-0.8.8-py2.4.egg
Processing dependencies for TurboGears
The problem here is that you are using the URL for 0.8. 0.9 is only
available via the preview site at the moment. Your command to install
should be as follows:
sudo easy_install -f
http://www.turbogears.org/preview/download/index.html --script-dir
/usr/local/bin TurboGears
Hope this helps,
Lee
I corrected the easy_install URL for the preview site in SVN.
--Liza
Installing easy_install-script.py to G:\Python24\scripts
and then:
Installing easy_install.exe script to G:\Python24\scripts
error: G:\Python24\scripts\easy_install.exe: Permission denied
Now what?
easy-install.pth lists
g:\python24\lib\site-packages\setuptools-0.6a10-py2.4.egg as the
installed package, but easy_install.exe was not updated in the scripts
directory.
Am I missing something? This is very confusing...
Best,
Bob
After Turbogears installed, as well as the new setuptools, I got the
following:
Installing easy_install-script.py to G:\Python24\scripts
and then:
Installing easy_install.exe script to G:\Python24\scripts
error: G:\Python24\scripts\easy_install.exe: Permission denied
easy_install -f http://www.turbogears.org/preview/download/index.html
paste
results in the following message:
Best match: paste-0.5dev_r4723
but that's the one I have, not r4745 that is actually in that
directory. This happens on all attempted updates. Nothing new is
installed.
python ez_setup.py -U setuptools
Hope this helps,
Lee