[Python.NET] running pythonnet on MAC OSX[new to MAC and not not a programmer]

brad at fie.us brad at fie.us
Fri Jun 14 00:53:35 CEST 2013


Yes.  I do it differently these days.  Will get back to you shortly.


On Jun 12, 2013, at 10:35 AM, Alon Dulce <alondu at gmail.com> wrote:

> Hi,
> I want to run python.NET  on MAC OSX (Mountain Lion) and since I'm new to MAC/UNIX and I'm not a programmer I naturally turned to the web:
> *1st : I tried iron python using eclipse with MONO (configuring eclipse iron python interpreter to the mono framework "/Library/Frameworks/Mono.framework/Versions/icy" file) - eclipse doesn't allow this and I got the following error:
> "No output was in the standard output when trying to create the interpreter info."
> *2nd : I tried python.NET on XAMARIN :
> I found this link: http://curtis.schlak.com/2012/01/17/howto-run-pythonnet-on-osx.html
> I followed all the instructions but it's not clear to me how can I write python in XAMARIN, import clr  etc. (I set up the solution as explained in the link above but I'm not sure about the next step).
> * 3rd try :
> I found a post on this mailing list :
> http://mail.python.org/pipermail/pythondotnet/2011-September/001171.html
> I tried using the original makefile and setup.py (both makefiles) with "sudo setup.py install" and received the following error:
> "dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
> /bin/sh: pkg-config: command not found
> Traceback (most recent call last):
>   File "setup.py", line 46, in <module>
>     argsDict = pkgconfig('glib-2.0', 'mono-2')
>   File "setup.py", line 32, in pkgconfig
>     raise RuntimeError("An error has occured")
> RuntimeError: An error has occured
> "
> I also tried editing the makefiles and setup.py according to the diff file supplied in the thread but still no success.
> Is there a makefile/ setup.py file that will work on MAC ? maybe some sort of step by step monkey guide... :-)
> I appreciate the help,
> Alon.
> _________________________________________________
> Python.NET mailing list - PythonDotNet at python.org
> http://mail.python.org/mailman/listinfo/pythondotnet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20130613/eeb5b7f6/attachment.html>

More information about the PythonDotNet mailing list