如何在 fink 安装的 python 中使用 python_select?它找不到它,我不想经历使用 macports 安装 python 的整个过程。我从 macports 得到了 python_select 。它报告:
Available versions:
current none python26-apple
我使用fink安装python:
/sw/bin/python2.7
最佳答案
我在我的机器上看到以下内容:
Available versions:
current none python26 python26-apple
我猜它正在查找路径中可用的 python 版本。因为,MacPorts 转到/opt; Fink 转到/sw。 fink 在你的路径上吗? $PATH 中包含什么。
I would suggest that you use macports. python_select works well with macports installation.
请参阅以下讨论,建议使用 macports:
我个人使用 macports。
sudo port install python27
sudo port install python_select
sudo python_select python27
关于python_select 与 fink 安装的 python?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4131016/