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)

From Pastrufazio <pastrufazio@gmail.com>
Newsgroups it.comp.lang.python
Subject Python di sistema vs python di homebrew (Mac OS X)
Date 2018-10-11 12:48 +0200
Organization Aioe.org NNTP Server
Message-ID <ppn9qo$150n$1@gioia.aioe.org> (permalink)

Show all headers | 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