I'm looking for easy way to install python3-oauth
with pip.
I've found this https://help.launchpad.net/API/launchpadlib
but it refers to python2.
I've found there are some packages for python3 https://packages.debian.org/sid/python3-launchpadlib
but i need to build module that will install dependencies only from setup.py
.
Is there any way to install lauchpadlib with oauth for python3 using pip?
Using python3
pip3 install lauchpadlib && python3 -c 'import oauth.oauth'
occurs in error in lib oauth
cannot import urlparse
The
oauth
python module is outdated, deprecated, and unmaintained. You should usepython3-oauthlib
instead.As of lazr.restfulclient 0.14.0 (released on 2018-05-08), the launchpadlib stack uses
oauthlib
rather thanoauth
. If you have code that needs to do unusual things directly with the underlying OAuth library to integrate with launchpadlib, then perhaps the example of https://code.launchpad.net/~cjwatson/lazr.restfulclient/oauthlib/+merge/344716 will help you port your code.