当我尝试运行使用ImportError: No module named oauth2client
google-api-python-client
我在这台计算机上进行了很多Python安装,但据我所知,现在看起来一致:
$ which python
/Users/bani/.pyenv/shims/python
$ which pip
/Users/bani/.pyenv/shims/pip
$ pyenv which python
/usr/local/bin/python
$ pip install --upgrade oauth2client
Requirement already up-to-date: oauth2client in /usr/local/lib/python2.7/site-packages
/Users/bani/.pyenv/shims
也是我PATH
中的第一件事。
我错过了什么?