macports python_select command not found

喜夏-厌秋 提交于 2019-11-29 20:27:39
JackFrost

python_select isn't a command, it is a capability added to port select.

To use it:

  1. List the available pythons to select from:

    port select --list python
    
  2. to choose a specific port (eg python26):

    port select python python26
    


wmfox3

See answer to subsequent reframing of question:

macports didn't place python_select in /opt/local/bin

Eh, on my Lion, I use:-

$ sudo port select --list python

to see available python versions, and:-

$ sudo port select python python26

No _ necessary for me! YMMV

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!