Hmm, strange. One thing you could try is to just download the tar.gz and install it manually - usually with "python setup.py install". I don't know how to keep easy_install from passing -q (quiet) to setup.py so you can see what's going on.

dan


Chris Adams wrote:
Hi Dan, thanks for the quick response.

The main thing that made me think Jinja wasn't installing was the
messages I had when I ran an easy_install of Sphinx:

chris-adamss-macbook:~ chrisadams$ easy_install Sphinx

chris-adamss-macbook:~ chrisadams$ sudo easy_install Sphinx
Password:
Searching for Sphinx
Best match: Sphinx 0.4.2
Processing Sphinx-0.4.2-py2.5.egg
Sphinx 0.4.2 is already the active version in easy-install.pth
Installing sphinx-build script to /usr/local/bin
Installing sphinx-quickstart script to /usr/local/bin

Using /Library/Python/2.5/site-packages/Sphinx-0.4.2-py2.5.egg
Processing dependencies for Sphinx
Searching for Jinja>=1.1
Reading http://pypi.python.org/simple/Jinja/
Reading http://wsgiarea.pocoo.org/jinja/
Reading http://jinja.pocoo.org/
Best match: Jinja 1.2
Downloading 
http://pypi.python.org/packages/source/J/Jinja/Jinja-1.2.tar.gz#md5=1235a005ade00b213800ff1e798c0241
Processing Jinja-1.2.tar.gz
Running Jinja-1.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-QMJSbR/Jinja-1.2/egg-dist-tmp--FRFEX
No eggs found in
/tmp/easy_install-QMJSbR/Jinja-1.2/egg-dist-tmp--FRFEX (setup script
problem?)
error: Could not find required distribution Jinja>=1.1

From reading this it now looks like I've managed to install Sphinx,
but I'm still missing the pre-requisites (jinja, pygment) before I can
use Sphinx.

I tried repeating these steps on an Ubuntu VM, to try an eliminate the
mac as the problem, and after installing the devtools on ubuntu, all
downloaded and installed fine, including the dependencies:

sudo apt-get install python-setuptools python-dev build-essential

(instructions from -
http://www.saltycrane.com/blog/2007/01/how-to-install-easy-install-for-python/)

I'm assuming that downloading a similar python-dev bundle for the Mac
would help me run a successful easy install, but I'm very new to
python development, so any clarification on this (or advice how to
recreate the same conditions on os x that were on ubuntu for
installation)  would be very welcome.

If there are any manpages or links to explain the finer points of how
pythonpath and os x leopard work together, I'd be very grateful too or
any pointers to them,

Thanks again,

C



_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to