Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Pastrufazio 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: 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 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*?