0

我正在尝试pytype在一个项目上运行,但我不断收到错误消息CRITICAL Could not find a valid python3.5 interpreter in path (found Python 2.7.17)。但是,我安装了 python3。我也有别名alias python="python3"

  • python -V- Python 3.6.9
  • python3 -V- Python 3.6.9
  • python2 -V- Python 2.7.17

我怎么跑pytype

4

1 回答 1

0

setup.cfg包含python_version = 3.5. 暂时删除setup.cfg为我修复了它。

于 2020-12-30T15:33:14.717 回答