Macports 端口选择命令

发布于 2024-11-18 19:38:58 字数 390 浏览 3 评论 0原文

新命令和新命令是什么?或等效项:

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 我会得到以下信息:

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

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

叫嚣ゝ 2024-11-25 19:38:58

列出:

port select --list python

显示:

port select --show python

选择:

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

To list:

port select --list python

To show:

port select --show python

To select:

sudo port select --set python <the python version>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文