开发者

python_select with fink-installed python?

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
开发者_JAVA技巧

I used fink to install python in:

/sw/bin/python2.7


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:

  • https://serverfault.com/questions/12952/macports-vs-fink.

I personally use macports.

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜