Using pyenv and I can't find oauth2client module installed through pip

803 views Asked by At

I'm getting the error ImportError: No module named oauth2client when I try to run a Python script that uses google-api-python-client

I had a lot going on in this computer in terms of Python installations, but as far as I can tell things look consistent now:

$ 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 is also the first thing in my PATH.

What am I missing?

0

There are 0 answers