Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2022 13:34:36 -0400 (EDT)
From:      Doug Denault <doug@safeport.com>
To:        freebsd-questions@freebsd.org
Cc:        steve@sohara.org, contact@evilham.com, tomek@cedro.info
Subject:   Re: proper python3 interpreter invocation
Message-ID:  <alpine.BSF.2.00.2210191330570.39131@bucksport.safeport.com>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2210191330570.39131>