demet8
demet8

Reputation: 1109

Macports Port Select Commands

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] [].

Upvotes: 25

Views: 25746

Answers (1)

juanchopanza
juanchopanza

Reputation: 227468

To list:

port select --list python

To show:

port select --show python

To select:

sudo port select --set python <the python version>

Upvotes: 51

Related Questions