【发布时间】:2018-05-08 02:55:41
【问题描述】:
我在终端中看到了这个:
gyp ERR! stack pyenv: python2: command not found
gyp ERR! stack
gyp ERR! stack The `python2' command exists in these Python versions:
gyp ERR! stack 2.7.5
gyp ERR! stack 2.7.8
我非常困惑这意味着什么。如何配置pyenv 才能正常工作?
我希望这样做:
python => version 2.7
python2 => version 2.7
python3 => version 3.6.4
python3 配置得很好,但是 python/python2 不是,我不知道为什么。
【问题讨论】: