Newbie having trouble installing 0.9a1

0 views
Skip to first unread message

Bob T.

unread,
Feb 23, 2006, 7:21:44 PM2/23/06
to TurboGears
I'm having a bit of trouble upgrading to 0.9 from the preview site.
Sorry if I'm jumping the gun and preview isn't quite there yet, but
just in case this is useful...

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

Lee McFadden

unread,
Feb 24, 2006, 5:50:08 AM2/24/06
to turbo...@googlegroups.com
On 2/24/06, Bob T. <btayl...@gmail.com> wrote:
>
> Am I doing something wrong, or is the preview site trying to give me
> 0.8.9?

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

sams...@gmail.com

unread,
Feb 23, 2006, 10:05:58 PM2/23/06
to TurboGears
I'm also having trouble!

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

Lee McFadden

unread,
Feb 24, 2006, 6:27:35 AM2/24/06
to turbo...@googlegroups.com
On 2/24/06, sams...@gmail.com <sams...@gmail.com> wrote:
>
> prompt: sudo easy_install -f
> http://www.turbogears.org/download/index.html --script-dir
> /usr/local/bin 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

Ed Coffey

unread,
Feb 24, 2006, 7:14:57 AM2/24/06
to TurboGears
To upgrade you'll need to give easy_install the -U switch.

Liza

unread,
Feb 24, 2006, 7:47:06 AM2/24/06
to turbo...@googlegroups.com
On 2/24/06, Lee McFadden <sple...@gmail.com> wrote:
> 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

I corrected the easy_install URL for the preview site in SVN.

--Liza

haroldmarshall

unread,
Feb 24, 2006, 11:18:12 AM2/24/06
to TurboGears
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

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

Bob T.

unread,
Feb 24, 2006, 11:24:38 AM2/24/06
to TurboGears
Thanks, Lee and Ed. I did have a subdirectory with setup.py in it, but
adding the -U flag to easy_install took care of the problem.

Best,
Bob

Bill Woodward

unread,
Feb 24, 2006, 12:00:04 PM2/24/06
to turbo...@googlegroups.com
On 2/24/06, haroldmarshall <haroldm...@gmail.com> wrote:

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


I got the same error.  I think it's because you're currently running easy_install.exe, and this is, after all, Windows.

Sorry, no solution, although if I tried the easy_install command again, it doesn't do much.  So it's possible it really did succeed.  I'm just not sure how to check.

- Bill

--
Bill Woodward     wpw...@saifa.net      http://www.saifa.net

"I have more trouble with D. L. Moody than with any other man I ever met." -- D. L. Moody
        s/D. L. Moody/Bill Woodward/g

haroldmarshall

unread,
Feb 24, 2006, 12:05:35 PM2/24/06
to TurboGears
Actually, I think this "update" may have broken easy_install. I'm
trying to check...

haroldmarshall

unread,
Feb 24, 2006, 12:27:12 PM2/24/06
to TurboGears
Here's an example of the "new" behavior:

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.

Lee McFadden

unread,
Feb 24, 2006, 12:27:28 PM2/24/06
to turbo...@googlegroups.com
You will need to update setuptools using ez_setup.py (there is a link
to that file on the Turbogears downloads page[1]).

python ez_setup.py -U setuptools

Hope this helps,

Lee

[1] http://www.turbogears.org/preview/download/windows.html

haroldmarshall

unread,
Feb 24, 2006, 1:28:29 PM2/24/06
to TurboGears
As a test, I reverted to setuptools-0.6a9dev-r41857-py2.4.egg, and
everything works again. Is this a bug?

Reply all
Reply to author
Forward
0 new messages