[TxMt] Latex Compile error

Alain Matthes alain.matthes at mac.com
Fri Sep 14 14:07:17 UTC 2007


hello

It's a eally recurring problem.

Ih the archives :

"On 8/25/07, Charilaos Skiadas <cskiadas- 
Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
On Aug 25, 2007, at 7:44 PM, Clover wrote:

 > What could I have done that will give me this error when I hit
 > command-R for compiling latex:
 >
 > "python: execv: /Library/Frameworks/Python.framework/Versions/2.5/
 > Resources/Python.app/Contents/MacOS/Python: No such file or  
directory"

It sounds like there is some problem with your setup for python. The
command runs a python script that starts with the line:

#!/usr/bin/env python2.3

That should be #!/usr/bin/env python
I inadvertently left the 2.3 on there since I need to force 2.3 to  
make sure it works with the version of python that is shipped with  
the OS.  I use 2.5 for my daily work.  I just checked in a change  
that removes the 2.3

This means it should explicitly look for and use python2.3. In your
case, it seems to be doing something weird. Have you messed with the
python installation in any way? Hopefully Brad, or someone else more
knowledgeable with Python, might be able to help us here.

I don't think OP is using the the bundle from svn since it was  
looking for python2.5.  There is definitely something very  
nonstandard about the OP's setup since it is looking for the Python  
inside the .app bundle."

Well, i am in this case . On my mac, I've Python2.3 and Python2.5. If  
I write in the terminal
$ python

I get : Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)


Actually I work with  build 1414 and it's the latest cutting-edge  
build of TextMate is 1414.
With that' all is fine. Now If I dowload the Latex.tmbundle  and put  
it anywhere, I have an error
around python 2.3

Regards Alain Matthes





More information about the textmate mailing list