How to: Macports select python

后端 未结 5 1464
感动是毒
感动是毒 2020-11-28 06:26

When I enter:

port select --list python

This is the result:

Available versions for python:
    none
    python25 (active)
         


        
5条回答
  •  情书的邮戳
    2020-11-28 07:22

    Your shell probably caches the invocation of python and does not look in PATH again. So, when you called python before port select in the same shell session, you need to clear this cache.

    For bash, clear the cache using

    hash -r
    

    or simply open a new terminal window.

提交回复
热议问题