From nobody Wed Oct 19 17:34:36 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MsyXf4Xk9z4gV22 for ; Wed, 19 Oct 2022 17:34:42 +0000 (UTC) (envelope-from doug@safeport.com) Received: from freeport.safeport.com (freeport.safeport.com [147.160.157.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4MsyXf2l17z3n2Q for ; Wed, 19 Oct 2022 17:34:42 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [147.160.157.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by freeport.safeport.com (Postfix) with ESMTPS id 2C16A473700; Wed, 19 Oct 2022 13:34:36 -0400 (EDT) Date: Wed, 19 Oct 2022 13:34:36 -0400 (EDT) From: Doug Denault To: freebsd-questions@freebsd.org cc: steve@sohara.org, contact@evilham.com, tomek@cedro.info Subject: Re: proper python3 interpreter invocation Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Rspamd-Queue-Id: 4MsyXf2l17z3n2Q X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_ip X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; local_wl_ip(0.00)[147.160.157.114] X-ThisMailContainsUnwantedMimeParts: N On Wed, 19 Oct 2022, Steve O'Hara-Smith wrote: > On Wed, 19 Oct 2022 11:36:40 +0200 > Evilham 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 ??? 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