The wrong python interpreter is called

前端 未结 6 550

I updated my python interpreter, but I think the old one is still called. When I check for the version I get:

$ python -V
Python 3.0.1

But

6条回答
  •  北海茫月
    2020-12-30 08:44

    Try which python. I will tell you which python interpreter is used in your environment. If it is not /usr/bin/python like in the script, then your suspicion is confirmed.

提交回复
热议问题