I install python-oauth2 with pip install oauth2 and I find the dir named 'oauth2' in /usr/lib/python2.7/dist-packages
But from pyoauth2 import Client,AccessToken say: no moudles named pyoauth2
Then, I changed pyoauth2 to oauth2, same status.
I download the source code from https://github.com/douban/douban-client
I think you are installing the wrong package. Try with pip install pyoauth2.
oauth2 is a different package and does not define AccessToken.
It that works you can pip uninstall oauth2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With