Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.python > #7727

Python di sistema vs python di homebrew (Mac OS X)

Path csiph.com!aioe.org!.POSTED!not-for-mail
From Pastrufazio <pastrufazio@gmail.com>
Newsgroups it.comp.lang.python
Subject Python di sistema vs python di homebrew (Mac OS X)
Date Thu, 11 Oct 2018 12:48:37 +0200
Organization Aioe.org NNTP Server
Lines 24
Message-ID <ppn9qo$150n$1@gioia.aioe.org> (permalink)
NNTP-Posting-Host WCCbmbs78Gojcb+k+Ha6PQ.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
X-Mozilla-News-Host news://nntp.aioe.org:119
Content-Language it
X-Notice Filtered by postfilter v. 0.8.3
Xref csiph.com it.comp.lang.python:7727

Show key headers only | View raw


Buongiorno,

ho installato python via homebrew e mi trovo nella situazione seguente


$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

$ which python
/usr/bin/python
$ python -V
Python 2.7.10

$ which python3
/usr/local/bin/python3
$ python3 -V
Python 3.7.0


Dove il primo è il python si sistema del Mac, mentre il secondo è quello 
che ho installato con homebrew. È corretto, oppure anche *python* 
dovrebbe puntare a */usr/local/bin/python3*?

Back to it.comp.lang.python | Previous | NextNext in thread | Find similar


Thread

Python di sistema vs python di homebrew (Mac OS X) Pastrufazio <pastrufazio@gmail.com> - 2018-10-11 12:48 +0200
  Re: Python di sistema vs python di homebrew (Mac OS X) oggei <oggei@scimmia.net> - 2018-10-18 21:24 +0200

csiph-web