[OmniOS-discuss] Happy New Year, and Python2.7

Krzysztof Grzempa grzempek at gmail.com
Sat Apr 8 09:15:42 UTC 2017


Thanks you guys,
Small tuts for whom concerns:
Following your advices i did:

Install omniti-ms publisher:
# pkg set-publisher -g http://pkg.omniti.com/omniti-ms ms.omniti.com

I found python3.4 nice packages:
# pkg search python3
INDEX      ACTION VALUE                    PACKAGE
basename   link   opt/python34/bin/python3
pkg:/omniti/runtime/python-34 at 3.4.3-0.151014
basename   link   opt/python34/bin/python3
pkg:/omniti/runtime/python-34 at 3.4.0-0.151006
basename   link   opt/python34/bin/python3
pkg:/omniti/runtime/python-34 at 3.4.0-0.151010
basename   link   opt/python34/bin/python3
pkg:/omniti/runtime/python-34 at 3.4.3-0.151014

Install package of your choice:
# pkg install pkg:/omniti/runtime/python-34 at 3.4.3-0.151014

Install django using pip3:
# /opt/python34/bin/pip3 install django

and voila:
/opt/python34/bin/python3
Python 3.4.3 (default, Oct 11 2016, 13:41:40)
[GCC 4.8.1] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> print(django.get_version())
1.11


Thanks

2017-04-08 10:26 GMT+02:00 Andries Annema <an3s.annema at gmail.com>:

> Hi Krzysztof,
>
>
>
> Did you try the ms.omniti.com publisher, http://pkg.omniti.com/omniti-
> ms/en/index.shtml ?
>
> 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.
>
>
>
> Not sure of any alternative sources/repos or even Python 3 though.
>
>
>
> Regards,
>
> Andries
>
>
>
>
>
> *From:* OmniOS-discuss [mailto:omnios-discuss-bounces at lists.omniti.com] *On
> Behalf Of *Krzysztof Grzempa
> *Sent:* vrijdag 7 april 2017 21:31
> *To:* omnios-discuss at lists.omniti.com
> *Subject:* Re: [OmniOS-discuss] Happy New Year, and Python2.7
>
>
>
> Hello Everybody
>
> 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...
>
> 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...)
>
> Do you have any better source for installing python2.7 or even better
> python3 ?
>
> Cheers,
>
> Krzysztof Grzempa
>
>
>
> 2017-01-04 18:29 GMT+01:00 Dan McDonald <danmcd at omniti.com>:
>
> 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:
>
>         pkg(5)
>
>         traditional installer media (not kayak)
>
> 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.
>
> 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:
>
> * We want both:  Basically, don't jump to Python2.7 until all components
> are ready.
>
> * 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.
>
> Appreciate your feedback, and I have one more longer-term question coming
> later today or tomorrow.
>
> Thanks!
> Dan
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170408/d916987d/attachment.html>


More information about the OmniOS-discuss mailing list