Python DistributionNotFound Error after installing EB CLI 3.0

后端 未结 7 1516
鱼传尺愫
鱼传尺愫 2020-12-19 01:29

Have tried many things, but keep getting this error after multiple attempts to update python, pip, etc. I am on OS X running 10.9.5.

CMD% eb 

Traceback (mo         


        
7条回答
  •  鱼传尺愫
    2020-12-19 02:31

    I had the exact same issue, for me, the eb script was using the wrong python. To solve it I just modified the eb script:

    > which eb
    /usr/local/bin/eb
    > sudo vim /usr/local/bin/eb
    ## Change the first line from '#!/usr/bin/python' to '#!/usr/local/bin/python'
    

    After restarting the terminal, everything work as expected.

提交回复
热议问题