'am a newbie to TG...
If I want to install the latest/greatest (PReview 0.9a1), do I need to:
. first instal the stable 0.8.9
. then upgrade to 0.9a1
OR
is it possible to directly install the Preview 0.9a1 version ?
When I tried a direct install (i686 Linux 2.4.x/Python 2.4.2) I get
the error below... Python2.4 was installed at /usr/local/Python2.4.
TIA,
/venkat
[root@.......]$ easy_install -Uf
http://www.turbogears.org/preview/download/index.html --script-dir
/usr/local/Python2.4/bin TurboGears
Searching for TurboGears
Reading http://www.turbogears.org/preview/download/index.html
Reading http://www.python.org/pypi/TurboGears/
Reading http://www.turbogears.org
Reading http://www.turbogears.org/download/
Best match: TurboGears 0.9a1
Downloading
http://www.turbogears.org/preview/download/eggs/TurboGears-0.9a1-py2.4.egg
Processing TurboGears-0.9a1-py2.4.egg
creating
/usr/local/Python2.4/lib/python2.4/site-packages/TurboGears-0.9a1-py2.4.egg
Extracting TurboGears-0.9a1-py2.4.egg to
/usr/local/Python2.4/lib/python2.4/site-packages
Adding TurboGears 0.9a1 to easy-install.pth file
Installing tg-admin script to /usr/local/Python2.4/bin
Installed
/usr/local/Python2.4/lib/python2.4/site-packages/TurboGears-0.9a1-py2.4.egg
Processing dependencies for TurboGears
Searching for nose>=0.8
Reading http://www.python.org/pypi/nose/
Reading http://somethingaboutorange.com/mrl/projects/nose/
Best match: nose 0.8.7.2
Downloading
http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.2.tar.gz
Processing nose-0.8.7.2.tar.gz
Running nose-0.8.7.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-FbBWVD/nose-0.8.7.2/egg-dist-tmp-KCinih
zip_safe flag not set; analyzing archive contents...
nose.util: module references __file__
nose.importer: module references __file__
nose.importer: module references __path__
nose.exception: module MAY be using inspect.getframeinfo
nose.core: module references __file__
nose.core: module references __path__
Adding nose 0.8.7.2 to easy-install.pth file
Installing nosetests script to /usr/local/Python2.4/bin
Installed
/usr/local/Python2.4/lib/python2.4/site-packages/nose-0.8.7.2-py2.4.egg
Searching for RuleDispatch
Reading http://www.python.org/pypi/RuleDispatch/
Couldn't find index page for 'RuleDispatch' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
Best match: RuleDispatch 0.5a0dev-r2097
Downloading
http://www.turbogears.org/download/eggs/RuleDispatch-0.5a0dev_r2097.zip
error: Can't download
http://www.turbogears.org/download/eggs/RuleDispatch-0.5a0dev_r2097.zip:
404 Not Found
Yup!
> Best match: RuleDispatch 0.5a0dev-r2097
>
> Downloading
> http://www.turbogears.org/download/eggs/RuleDispatch-0.5a0dev_r2097.zip
> error: Can't download
> http://www.turbogears.org/download/eggs/RuleDispatch-0.5a0dev_r2097.zip:
> 404 Not Found
Looks like the filename is coming up incorrect. You should be able to
directly install it as:
easy_install http://www.turbogears.org/preview/download/eggs/RuleDispatch-0.5a0dev-r2097.zip
(hypen rather than underscore)
and then re-run your easy_install for TurboGears now that the
dependency is satisfied.
There might be a better way but that's what I do when the dependencies
aren't where easy_install expects them.
--Liza
Following your tip, these are the steps I took to instal 0.9a1:
1. easy_install -Uf
http://www.turbogears.org/preview/download/index.html --script-dir
/usr/local/Python2.4/bin TurboGears
This would fail as mentioned above.
2. Then I had to manually download the following two packages in order
(dependency):
easy_install
http://www.turbogears.org/preview/download/eggs/PyProtocols-1.0a0dev_r2082.zip
easy_install
http://www.turbogears.org/preview/download/eggs/RuleDispatch-0.5a0dev-r2097.zip
3. Then I re-ran the command in (1). This then caused it to continue
from where it left off, and complete install.
HTH others looking for a fix.
Regards.
/venkat