Install oauth for python3

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












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







share|improve this question






















  • python and python3 are different. Have you considered trying python3 -c ... instead of python? Because python refers to Python 2 and not Python 3.
    – Thomas Ward♦
    Apr 30 at 16:44











  • Yes! Theres mistake in description. Should be python3 -c ....
    – ImportError
    Apr 30 at 16:57














up vote
0
down vote

favorite












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







share|improve this question






















  • python and python3 are different. Have you considered trying python3 -c ... instead of python? Because python refers to Python 2 and not Python 3.
    – Thomas Ward♦
    Apr 30 at 16:44











  • Yes! Theres mistake in description. Should be python3 -c ....
    – ImportError
    Apr 30 at 16:57












up vote
0
down vote

favorite









up vote
0
down vote

favorite











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







share|improve this question














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









share|improve this question













share|improve this question




share|improve this question








edited Apr 30 at 16:57

























asked Apr 30 at 16:43









ImportError

11




11











  • python and python3 are different. Have you considered trying python3 -c ... instead of python? Because python refers to Python 2 and not Python 3.
    – Thomas Ward♦
    Apr 30 at 16:44











  • Yes! Theres mistake in description. Should be python3 -c ....
    – ImportError
    Apr 30 at 16:57
















  • python and python3 are different. Have you considered trying python3 -c ... instead of python? Because python refers to Python 2 and not Python 3.
    – Thomas Ward♦
    Apr 30 at 16:44











  • Yes! Theres mistake in description. Should be python3 -c ....
    – ImportError
    Apr 30 at 16:57















python and python3 are different. Have you considered trying python3 -c ... instead of python? Because python refers to Python 2 and not Python 3.
– Thomas Ward♦
Apr 30 at 16:44





python and python3 are different. Have you considered trying python3 -c ... instead of python? Because python refers to Python 2 and not Python 3.
– Thomas Ward♦
Apr 30 at 16:44













Yes! Theres mistake in description. Should be python3 -c ....
– ImportError
Apr 30 at 16:57




Yes! Theres mistake in description. Should be python3 -c ....
– ImportError
Apr 30 at 16:57










1 Answer
1






active

oldest

votes

















up vote
1
down vote













The oauth python module is outdated, deprecated, and unmaintained. You should use python3-oauthlib instead.






share|improve this answer




















  • I dont need python-oauth. I need launchpadlib, but that has a dependency python-oauth. At pip python-oauth is available only for python2. Lauchpadlib is compatible with python3 and I need python3 oauth
    – ImportError
    May 7 at 9:47











  • Because python-oauth is unmaintained, the only reason there are python3-oauth packages in Debian/Ubuntu, is because there's a patch to add the necessary import changes for it to sort of work there. You can't apply patches when installing via pip/easy_install though. Really it would be best to file a bug against launchpadlib upstream, about how it's using a deprecated oauth lib. Migrating it to oauthlib should be pretty easy though.
    – dobey
    May 7 at 13:20










  • There is a confirmed bug bugs.launchpad.net/lazr.restfulclient/+bug/1672458
    – ImportError
    May 8 at 14:02










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030216%2finstall-oauth-for-python3%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













The oauth python module is outdated, deprecated, and unmaintained. You should use python3-oauthlib instead.






share|improve this answer




















  • I dont need python-oauth. I need launchpadlib, but that has a dependency python-oauth. At pip python-oauth is available only for python2. Lauchpadlib is compatible with python3 and I need python3 oauth
    – ImportError
    May 7 at 9:47











  • Because python-oauth is unmaintained, the only reason there are python3-oauth packages in Debian/Ubuntu, is because there's a patch to add the necessary import changes for it to sort of work there. You can't apply patches when installing via pip/easy_install though. Really it would be best to file a bug against launchpadlib upstream, about how it's using a deprecated oauth lib. Migrating it to oauthlib should be pretty easy though.
    – dobey
    May 7 at 13:20










  • There is a confirmed bug bugs.launchpad.net/lazr.restfulclient/+bug/1672458
    – ImportError
    May 8 at 14:02














up vote
1
down vote













The oauth python module is outdated, deprecated, and unmaintained. You should use python3-oauthlib instead.






share|improve this answer




















  • I dont need python-oauth. I need launchpadlib, but that has a dependency python-oauth. At pip python-oauth is available only for python2. Lauchpadlib is compatible with python3 and I need python3 oauth
    – ImportError
    May 7 at 9:47











  • Because python-oauth is unmaintained, the only reason there are python3-oauth packages in Debian/Ubuntu, is because there's a patch to add the necessary import changes for it to sort of work there. You can't apply patches when installing via pip/easy_install though. Really it would be best to file a bug against launchpadlib upstream, about how it's using a deprecated oauth lib. Migrating it to oauthlib should be pretty easy though.
    – dobey
    May 7 at 13:20










  • There is a confirmed bug bugs.launchpad.net/lazr.restfulclient/+bug/1672458
    – ImportError
    May 8 at 14:02












up vote
1
down vote










up vote
1
down vote









The oauth python module is outdated, deprecated, and unmaintained. You should use python3-oauthlib instead.






share|improve this answer












The oauth python module is outdated, deprecated, and unmaintained. You should use python3-oauthlib instead.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 30 at 17:24









dobey

31.9k33484




31.9k33484











  • I dont need python-oauth. I need launchpadlib, but that has a dependency python-oauth. At pip python-oauth is available only for python2. Lauchpadlib is compatible with python3 and I need python3 oauth
    – ImportError
    May 7 at 9:47











  • Because python-oauth is unmaintained, the only reason there are python3-oauth packages in Debian/Ubuntu, is because there's a patch to add the necessary import changes for it to sort of work there. You can't apply patches when installing via pip/easy_install though. Really it would be best to file a bug against launchpadlib upstream, about how it's using a deprecated oauth lib. Migrating it to oauthlib should be pretty easy though.
    – dobey
    May 7 at 13:20










  • There is a confirmed bug bugs.launchpad.net/lazr.restfulclient/+bug/1672458
    – ImportError
    May 8 at 14:02
















  • I dont need python-oauth. I need launchpadlib, but that has a dependency python-oauth. At pip python-oauth is available only for python2. Lauchpadlib is compatible with python3 and I need python3 oauth
    – ImportError
    May 7 at 9:47











  • Because python-oauth is unmaintained, the only reason there are python3-oauth packages in Debian/Ubuntu, is because there's a patch to add the necessary import changes for it to sort of work there. You can't apply patches when installing via pip/easy_install though. Really it would be best to file a bug against launchpadlib upstream, about how it's using a deprecated oauth lib. Migrating it to oauthlib should be pretty easy though.
    – dobey
    May 7 at 13:20










  • There is a confirmed bug bugs.launchpad.net/lazr.restfulclient/+bug/1672458
    – ImportError
    May 8 at 14:02















I dont need python-oauth. I need launchpadlib, but that has a dependency python-oauth. At pip python-oauth is available only for python2. Lauchpadlib is compatible with python3 and I need python3 oauth
– ImportError
May 7 at 9:47





I dont need python-oauth. I need launchpadlib, but that has a dependency python-oauth. At pip python-oauth is available only for python2. Lauchpadlib is compatible with python3 and I need python3 oauth
– ImportError
May 7 at 9:47













Because python-oauth is unmaintained, the only reason there are python3-oauth packages in Debian/Ubuntu, is because there's a patch to add the necessary import changes for it to sort of work there. You can't apply patches when installing via pip/easy_install though. Really it would be best to file a bug against launchpadlib upstream, about how it's using a deprecated oauth lib. Migrating it to oauthlib should be pretty easy though.
– dobey
May 7 at 13:20




Because python-oauth is unmaintained, the only reason there are python3-oauth packages in Debian/Ubuntu, is because there's a patch to add the necessary import changes for it to sort of work there. You can't apply patches when installing via pip/easy_install though. Really it would be best to file a bug against launchpadlib upstream, about how it's using a deprecated oauth lib. Migrating it to oauthlib should be pretty easy though.
– dobey
May 7 at 13:20












There is a confirmed bug bugs.launchpad.net/lazr.restfulclient/+bug/1672458
– ImportError
May 8 at 14:02




There is a confirmed bug bugs.launchpad.net/lazr.restfulclient/+bug/1672458
– ImportError
May 8 at 14:02












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030216%2finstall-oauth-for-python3%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error