pyenv: python3: command not found
The `python3' command exists in these Python versions:3.8.0
Note: See 'pyenv help global' for tips on allowing both python2 and python3 to be found.
在安装python的requests库时,出现如下报错:
解决方法:
pyenv 指定shell
例如,指定3.8.0版本
pyenv shell 3.8.0
此时再运行命令即可成功安装