bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change the python interpretor to use /usr/bin/env python3


From: Bruno Haible
Subject: Re: Change the python interpretor to use /usr/bin/env python3
Date: Mon, 02 Apr 2018 19:58:15 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-116-generic; KDE/5.18.0; x86_64; ; )

Darshit Shah wrote:
> On a fedora machine, Python 3 is installed by default, but not Python 2. And
> the only binary available is /usr/bin/python3.

It's not only on Fedora. The Python docs themselves ([1], footnote 1) say:

  "On Unix, the Python 3.x interpreter is by default not installed with the
   executable named 'python', so that it does not conflict with a
   simultaneously installed Python 2.x executable."

Bruno

[1] https://docs.python.org/3/tutorial/interpreter.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]