macports python_select command not found

前端 未结 3 718
-上瘾入骨i
-上瘾入骨i 2020-12-23 11:58

I\'m using MacPorts and had installed python_select to switch between 2.6 and 2.7. But for some reason I\'m now getting a \"command not found\" error when running:



        
3条回答
  •  旧时难觅i
    2020-12-23 12:46

    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
      


提交回复
热议问题