What are the new commands & or equivalents of:
python_select -L (shows available python versions)
python_select -s (sets the default version of your choice of python).
I know they have changed to --list
, --set
, --show
but there doesn't seem to be an example of how to properly use each one. For example, if I use port select --set
I get the following:
Error: port select [--list |--set |--show] [].
MacPorts base upgrades are performed automatically (when a newer release is available) during a selfupdate operation. To upgrade a copy of MacPorts that was installed from source to the newer release of the source code, simply repeat the source install with the newer version of the MacPorts source code.
A MacPorts port is a set of specifications contained in a Portfile that defines an application, its characteristics, and any files or special instructions required to install it. This allows you to use a single command to tell MacPorts to automatically download, compile, and install applications and libraries.
Insertion of a port catheter is a minor surgery and requires a skin incision about an inch in length. This port incision is made with local anesthetic below the clavicle. The catheter is connected to the port, placed under the skin and then into the neck vein, and the port is placed beneath the skin.
Macports is a tool for installing applications and command line tools on your Mac, with a huge library of “ports” (the Macports term for something that can be installed).
To list:
port select --list python
To show:
port select --show python
To select:
sudo port select --set python <the python version>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With