Open alxndrsn opened 1 year ago
That annoyed me as well the other day. Should just be python
!
It's that way mainly because pyxform supports specific python versions. Also, my (somewhat old) dev box has system python
resolve to v2.7.5 and I've got python3.6, python3.7, python3.8, python3.9 binaries under /usr/local/bin
.
After activating a virtual environment, it's possible to use just python
and it resolves to the version that the venv was created with. So specifying the version like this is only a thing when creating a virtualenv for the first time. Once that's done you can henceforth write source ./venv/bin/activate
then python ...
.
Current README instructions says:
and then later:
and
The latter examples seem overly-specific, and there are various other code samples which reference the python executable as simply
python
.Is there something specific to using
/usr/local/bin/python3.8
, or could these be replaced withpython
?