Re: proper python3 interpreter invocation

From: Doug Denault <doug_at_safeport.com>
Date: Wed, 19 Oct 2022 17:34:36 UTC
On Wed, 19 Oct 2022, Steve O'Hara-Smith wrote:

> On Wed, 19 Oct 2022 11:36:40 +0200
> Evilham <contact@evilham.com> wrote:
>
> > There is no python port on FreeBSD,
>
>       Oh yes there is :) It depends on the current python and installs
> symlinks.
>
> -------------------------------
> $ python --version
> Python 3.9.14
> $ pkg info python
> python-3.9_3,2
> Name           : python
> Version        : 3.9_3,2
> Installed on   : Wed Oct 19 11:19:14 2022 IST
> Origin         : lang/python
> Architecture   : FreeBSD:13:*
> Prefix         : /usr/local
> Categories     : python lang
> ...
> --------------------------------
>
> --
> Steve O'Hara-Smith <steve@sohara.org>

??? This on bmy 12.3 xfce work station

artemis:~> pkg info -x ^python
python37-3.7.14
python38-3.8.14
python39-3.9.14

All the different versions come from various libraries/applications having 
different requirements. All happily live together.

I would think if you are developing for a standalone application having 
your development system use python directly would be better than running in 
an environment. I'm not exactly a python newbie but I have never been able 
to get environments to work without issues. FreeBSD at any rate does not 
care how many versions you have, just invoke the one you want to use 
directly.

Doug

_____
Douglas Denault
http://www.safeport.com
doug@safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277