¿Cómo usar los módulos macports con la versión predeterminada de Python preinstalada con Mac OSX?

I have a trouble with the install of the source distribution of potrace called potrace-1.10.tar.gz (http://potrace.sourceforge.net/#downloading) on Mac OSX Leopard 10.5.8.

So, I decided to install potrace with macports ("port install potrace") and I would like to use it with the preinstalled version of Python, the version 2.5. I don't want to work with macports because I use MAMP. All the other libraries I use are installed without macports.

¿Es posible hacer eso?

Gracias por su atención.

preguntado el 10 de marzo de 12 a las 14:03

With regard to potrace, I don't see where you would need to use anything python related at all. MacPorts installs a binaries and man pages with the potrace port only. If you just want to execute this potrace binary from a Python script you could do that with any version. What kind of restrictions do you see there? -

1 Respuestas

In general, MacPorts maintains its own versions of libraries and does not use libraries provided by Mac OS X. Reason for this is that MacPorts targets multiple releases of Mac OS X, where each release ships different libraries. Additionally, Apple is known to be slow at fixing security bugs in libraries provided by Mac OS X and might change them on minor software upgrades without notice.

See also these two questions and answers in the MacPorts FAQ:

respondido 10 mar '12, 14:03

Thank you very much for your answer Raim. I will continue my work using subprocess. - Zorkzyd

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.