<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div></div><div><br><div><div>On Jun 12, 2013, at 10:35 AM, Alon Dulce <<a href="mailto:alondu@gmail.com">alondu@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div style="">I want to run <a href="http://python.NET">python.NET</a>  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:</div><div style=""><br></div><div style="">
*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:</div>
<div style=""><br></div><div style="">"No output was in the standard output when trying to create the interpreter info."</div><div style=""><br></div><div style="">*2nd : I tried <a href="http://python.NET">python.NET</a> on XAMARIN :</div><div style=""><br>
</div><div style="">I found this link: <a href="http://curtis.schlak.com/2012/01/17/howto-run-pythonnet-on-osx.html">http://curtis.schlak.com/2012/01/17/howto-run-pythonnet-on-osx.html</a></div><div style=""><h1 style="margin:0px;padding:0px;font-size:28px;clear:both;color:rgb(68,68,68);font-family:'Merriweather Sans','Helvetica Neue',Helvetica,Arial,sans-serif">
<br></h1><div style="">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).</div>
<div style=""><br></div><div style="">* 3rd try :</div><div style="">I found a post on this mailing list :</div><div style=""><a href="http://mail.python.org/pipermail/pythondotnet/2011-September/001171.html">http://mail.python.org/pipermail/pythondotnet/2011-September/001171.html</a><br>
</div><div style=""><br></div><div style="">I tried using the original makefile and setup.py (both makefiles) with "sudo setup.py install" and received the following error:</div><div style="">"dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid</div>
<div>/bin/sh: pkg-config: command not found</div><div>Traceback (most recent call last):</div><div>  File "setup.py", line 46, in <module></div><div>    argsDict = pkgconfig('glib-2.0', 'mono-2')</div>
<div>  File "setup.py", line 32, in pkgconfig</div><div>    raise RuntimeError("An error has occured")</div><div>RuntimeError: An error has occured</div><div>"</div><div><br></div><div style="">I also tried editing the makefiles and setup.py according to the diff file supplied in the thread but still no success.</div>
<div style=""><br></div><div style="">Is there a makefile/ setup.py file that will work on MAC ? maybe some sort of step by step monkey guide... :-)</div><div style=""><br></div><div style="">I appreciate the help,</div><div style="">Alon.</div>
</div></div>
_________________________________________________<br><a href="http://Python.NET">Python.NET</a> mailing list - <a href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/pythondotnet">http://mail.python.org/mailman/listinfo/pythondotnet</a></blockquote></div><br></div></div></body></html>