<div dir="ltr"><div><div><div><div><div>Thanks you guys,<br></div><div>Small tuts for whom concerns:<br></div>Following your advices i did:<br><br></div>Install omniti-ms publisher:<br># pkg set-publisher -g <a href="http://pkg.omniti.com/omniti-ms">http://pkg.omniti.com/omniti-ms</a> <a href="http://ms.omniti.com">ms.omniti.com</a><br><br></div>I found python3.4 nice packages:<br># pkg search python3<br>INDEX      ACTION VALUE                    PACKAGE<br>basename   link   opt/python34/bin/python3 pkg:/omniti/runtime/python-34@3.4.3-0.151014<br>basename   link   opt/python34/bin/python3 pkg:/omniti/runtime/python-34@3.4.0-0.151006<br>basename   link   opt/python34/bin/python3 pkg:/omniti/runtime/python-34@3.4.0-0.151010<br>basename   link   opt/python34/bin/python3 pkg:/omniti/runtime/python-34@3.4.3-0.151014<br><br></div>Install package of your choice:<br># pkg install pkg:/omniti/runtime/python-34@3.4.3-0.151014<br><br></div>Install django using pip3:<br># /opt/python34/bin/pip3 install django<br><div><br><div><div><div><div class="gmail_extra">and voila:<br>/opt/python34/bin/python3<br>Python 3.4.3 (default, Oct 11 2016, 13:41:40) <br>[GCC 4.8.1] on sunos5<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import django<br>>>> print(django.get_version())<br>1.11<br><br><br></div><div class="gmail_extra">Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-08 10:26 GMT+02:00 Andries Annema <span dir="ltr"><<a href="mailto:an3s.annema@gmail.com" target="_blank">an3s.annema@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-4541959721806524983WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)">Hi Krzysztof,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)">Did you try the <a href="http://ms.omniti.com" target="_blank">ms.omniti.com</a> publisher, <a href="http://pkg.omniti.com/omniti-ms/en/index.shtml" target="_blank">http://pkg.omniti.com/omniti-<wbr>ms/en/index.shtml</a> ?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)">Python2.7 is available there, for r151014 indeed; find it under the name “omniti/runtime/python-27”. Although not the latest version, 2.7.6 might just be sufficient. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)">Not sure of any alternative sources/repos or even Python 3 though.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)">Andries<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10pt;font-family:"tahoma","sans-serif"">From:</span></b><span style="font-size:10pt;font-family:"tahoma","sans-serif""> OmniOS-discuss [mailto:<a href="mailto:omnios-discuss-bounces@lists.omniti.com" target="_blank">omnios-discuss-<wbr>bounces@lists.omniti.com</a>] <b>On Behalf Of </b>Krzysztof Grzempa<br><b>Sent:</b> vrijdag 7 april 2017 21:31<br><b>To:</b> <a href="mailto:omnios-discuss@lists.omniti.com" target="_blank">omnios-discuss@lists.omniti.<wbr>com</a><br><b>Subject:</b> Re: [OmniOS-discuss] Happy New Year, and Python2.7<u></u><u></u></span></p><div><div class="gmail-h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><div><div><div><div><p class="MsoNormal" style="margin-bottom:12pt">Hello Everybody<u></u><u></u></p></div><p class="MsoNormal">Regarding python2.7. Where can I get it from to install in stable r151014 ? I need it for django to work as it requires python2.7 or later...<u></u><u></u></p></div><p class="MsoNormal">As i cannot find it in default publisher the only things comes to my mind is OpenCSW or complie it from scratch(i would like to avoid that to be honest...)<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12pt">Do you have any better source for installing python2.7 or even better python3 ?<u></u><u></u></p></div><p class="MsoNormal">Cheers,<u></u><u></u></p></div><p class="MsoNormal">Krzysztof Grzempa<u></u><u></u></p><div><div><div><div><div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">2017-01-04 18:29 GMT+01:00 Dan McDonald <<a href="mailto:danmcd@omniti.com" target="_blank">danmcd@omniti.com</a>>:<u></u><u></u></p><p class="MsoNormal">The first of the big changes for this bloody cycle is underway internally, i.e. the move from Python2.6 to Python2.7 for OmniOS-internal users of Python.  Those users are currently:<br><br>        pkg(5)<br><br>        traditional installer media (not kayak)<br><br>As of now, the pkg5 test suite is mostly passing with Python2.7, and bloody users know that Python2.7 is AVAILABLE in the main "omnios" publisher repo.<br><br>The installer still needs work, but I'm curious how many bloody users out there would be comfortable with having (for now) older install media, but when "pkg update" occurs, moving entirely to Python2.7?  The possible answers are:<br><br>* We want both:  Basically, don't jump to Python2.7 until all components are ready.<br><br>* We can cope:  Basically, make the jump for pkg5, but for now, traditional install media would be frozen, until the Python2.7 jump has been completed.<br><br>Appreciate your feedback, and I have one more longer-term question coming later today or tomorrow.<br><br>Thanks!<br>Dan<br><br>______________________________<wbr>_________________<br>OmniOS-discuss mailing list<br><a href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.<wbr>com</a><br><a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br></div></div></div></div></div></div>