Macports端口选择命令 [英] Macports Port Select Commands

查看:51
本文介绍了Macports端口选择命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新命令是什么?或等价物:

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).

我知道它们已更改为--list--set--show,但是似乎没有一个如何正确使用每个示例的示例.例如,如果我使用port select --set,则会得到以下信息:

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:

错误:端口选择[--list | --set | --show] [].

Error: port select [--list |--set |--show] [].

推荐答案

列出:

port select --list python

显示:

port select --show python

要选择:

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

这篇关于Macports端口选择命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆