python_select 与 fink 安装的 python?

发布于 2024-10-01 06:13:25 字数 269 浏览 7 评论 0原文

如何在 fink 安装的 python 中使用 python_select ?它找不到它,我不想经历使用 macports 安装 python 的整个过程。我从 macports 得到了 python_select 。它报告:

Available versions:
current none python26-apple

我使用 fink 将 python 安装在:

/sw/bin/python2.7

How do I use python_select with fink installed python? It won't find it and I don't want to go through the whole process of installing python using macports. I got python_select from macports though. It reports:

Available versions:
current none python26-apple

I used fink to install python in:

/sw/bin/python2.7

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

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

发布评论

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

评论(1

霓裳挽歌倾城醉 2024-10-08 06:13:26

我在我的机器上看到以下内容:

Available versions:
current none python26 python26-apple

我猜它正在查找路径中可用的 python 版本。因为,MacPorts 转到 /opt; Fink 转到/sw。 fink 在你的路径上吗? $PATH 中包含什么。

我建议你使用macports。 python_select 与 macports 安装配合得很好。

请参阅以下讨论,建议使用 macports:

我个人使用macports。

sudo port install python27 
sudo port install python_select
sudo python_select python27

I see the following in my machine:

Available versions:
current none python26 python26-apple

I guess it is looking up the python versions that are available in path. Since, MacPorts go to /opt; Fink goes to /sw. Is fink on your path? What is contained in $PATH.

I would suggest that you use macports. python_select works well with macports installation.

See the following discussion and the suggestion is to use macports:

I personally use macports.

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