【问题标题】:python_select with fink-installed python?python_select 与 fink 安装的 python?
【发布时间】:2010-11-09 06:20:35
【问题描述】:

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

Available versions:
current none python26-apple

我用fink安装python在:

/sw/bin/python2.7

【问题讨论】:

    标签: python fink


    【解决方案1】:

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

    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
    

    【讨论】:

    • 我想我会切换到macports。你用python26还是python27?
    • @Neil G:我出于某种目的使用 python26,很快就会切换到 python27。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-20
    • 1970-01-01
    • 1970-01-01
    • 2010-12-18
    相关资源
    最近更新 更多