The wrong python interpreter is called

前端 未结 6 516

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 09:04

    run 'which python' - if this gives a different answer than /usr/bin/python, change #!/usr/bin/python to have that path instead.

提交回复
热议问题