How to: Macports select python

后端 未结 5 1432
感动是毒
感动是毒 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:21

    An alternative is symlinking each and every Jupyter binary so that the version number does not appear:

    cd /opt/local/bin
    JUPYTER_VERSION=2.7
    for a in jupyter*$JUPYTER_VERSION; do sudo ln -s $a $(echo $a | sed -e 's:-'$JUPYTER_VERSION':g'); done
    

提交回复
热议问题