senseobservationsystems / commonsense-python-lib

Library for using CommonSense API in Python applications
Apache License 2.0
4 stars 1 forks source link

ImportError: No module named oauth #10

Closed stmeissner closed 11 years ago

stmeissner commented 11 years ago

Hi! I couldn't figure out which library is needed for OAuth? Apparently there are plenty out there.

yulrizka commented 11 years ago
$ (sudo) pip install oauth
pimnijdam commented 11 years ago

Hi Stefan,

You need the "oauth" python package, see https://pypi.python.org/pypi/oauth/1.0.1. If you have pip you can install with: "pip install --user oauth".

Regards,

stmeissner commented 11 years ago

worked well. thanks to you both.

ilashari commented 10 years ago

I have still same error not solved can anyone guide me ?

pimnijdam commented 10 years ago

Hi,

If you installed the package with pip it should automatically install the required oauth package, otherwise you need to install oauth . Assuming you're using pip, please make sure you've installed the latest version by running pip install --upgrade senseapi. If it still fails you can check whether the oauth package is installed with pip show oauth, which should give you the version, if not it should return empty.

Hope that helps you along.

ilashari commented 10 years ago

Traceback (most recent call last): File "C:\Users\inla\Desktop\twitter\pythonprj\recipe__oauth_login.py", line 5, in from twitter.oauth import write_token_file, read_token_file ImportError: No module named oauth

Still having same error

I have used pip install --upgrade senseapi. it says it already installed I have used pip show oauth..oauth version 1.0.1 Is there any solution yet

pimnijdam commented 10 years ago

It seems like there is no twitter.oauth module. This has nothing to do with the senseapi.