2010-11-09 60 views
1

如何使用python安装python的python_select?它不会找到它,我不想通过使用macports安装python的整个过程。我从python获得了python_select。据报道:用python安装python的python_select?

Available versions: 
current none python26-apple 

我用Fink安装Python在:

/sw/bin/python2.7 

回答

1

我看到在我的机器如下:

Available versions: 
current none python26 python26-apple 

我估计是仰视蟒蛇版本的在路径中可用。因为,MacPorts转到/ opt;芬克去/ sw。 在你的道路上闪现吗? $ PATH中包含的内容。

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

请参见下面的讨论和建议是使用的MacPorts:

我个人使用macports。

sudo port install python27 
sudo port install python_select 
sudo python_select python27 
+0

我想我会切换到macports。你使用python26还是python27? – 2010-11-09 16:39:43

+0

@Neil G:我为了某种目的使用python26,并且很快就会切换到python27。 – pyfunc 2010-11-09 17:16:18