2010-11-09 36 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