How to add virtualenv to path

前端 未结 9 956
无人及你
无人及你 2020-12-09 04:01

I am trying to find out why my virtualenv and/or virtualenv wrapper - installed using pip using homebrew - cannot be foun

9条回答
  •  北海茫月
    2020-12-09 04:49

    For those with Python 2.7, I came across this as well, and solved it by simply putting the following line into the \etc\paths file (may need to $ sudo chmod it first):

    /Library/Frameworks/Python.framework/Versions/2.7/bin
    

    Save the change and start a new Terminal session. Check it with echo $PATH

提交回复
热议问题