Install google-auth in raspberry (Python)











up vote
1
down vote

favorite












I'm installing google-auth on raspberry pi 3 using pip:



pip install google-auth

pip install --upgrade google-auth


But when I used import google.auth, I get the following error No module named 'google.auth'



(env) pi@raspberrypi:~/Desktop $ python
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linu
Type "help", "copyright", "credits" or "license" for more information
>>> import google.auth
Traceback (most recent call last)
File "<stdin>", line 1, in <module
ImportError: No module named 'google.auth









share|improve this question




















  • 2




    Please add your output as code-formatted text, not as an image.
    – Klaus D.
    Nov 19 at 9:21










  • Thank for your suggest
    – Pythoner
    Nov 19 at 9:35






  • 1




    Try to remove it by pip uninstall google-auth and then install it again. If doesn't work' remove the possible .egg file and install again
    – Yuval Pruss
    Nov 19 at 9:59










  • How can I do remove the possible .egg. When I remove google-auth and reinstall, nothing changed
    – Pythoner
    Nov 21 at 2:51















up vote
1
down vote

favorite












I'm installing google-auth on raspberry pi 3 using pip:



pip install google-auth

pip install --upgrade google-auth


But when I used import google.auth, I get the following error No module named 'google.auth'



(env) pi@raspberrypi:~/Desktop $ python
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linu
Type "help", "copyright", "credits" or "license" for more information
>>> import google.auth
Traceback (most recent call last)
File "<stdin>", line 1, in <module
ImportError: No module named 'google.auth









share|improve this question




















  • 2




    Please add your output as code-formatted text, not as an image.
    – Klaus D.
    Nov 19 at 9:21










  • Thank for your suggest
    – Pythoner
    Nov 19 at 9:35






  • 1




    Try to remove it by pip uninstall google-auth and then install it again. If doesn't work' remove the possible .egg file and install again
    – Yuval Pruss
    Nov 19 at 9:59










  • How can I do remove the possible .egg. When I remove google-auth and reinstall, nothing changed
    – Pythoner
    Nov 21 at 2:51













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm installing google-auth on raspberry pi 3 using pip:



pip install google-auth

pip install --upgrade google-auth


But when I used import google.auth, I get the following error No module named 'google.auth'



(env) pi@raspberrypi:~/Desktop $ python
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linu
Type "help", "copyright", "credits" or "license" for more information
>>> import google.auth
Traceback (most recent call last)
File "<stdin>", line 1, in <module
ImportError: No module named 'google.auth









share|improve this question















I'm installing google-auth on raspberry pi 3 using pip:



pip install google-auth

pip install --upgrade google-auth


But when I used import google.auth, I get the following error No module named 'google.auth'



(env) pi@raspberrypi:~/Desktop $ python
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linu
Type "help", "copyright", "credits" or "license" for more information
>>> import google.auth
Traceback (most recent call last)
File "<stdin>", line 1, in <module
ImportError: No module named 'google.auth






python python-3.x raspberry-pi3 google-authentication






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 19 at 9:57









Yuval Pruss

2,03931434




2,03931434










asked Nov 19 at 9:18









Pythoner

228




228








  • 2




    Please add your output as code-formatted text, not as an image.
    – Klaus D.
    Nov 19 at 9:21










  • Thank for your suggest
    – Pythoner
    Nov 19 at 9:35






  • 1




    Try to remove it by pip uninstall google-auth and then install it again. If doesn't work' remove the possible .egg file and install again
    – Yuval Pruss
    Nov 19 at 9:59










  • How can I do remove the possible .egg. When I remove google-auth and reinstall, nothing changed
    – Pythoner
    Nov 21 at 2:51














  • 2




    Please add your output as code-formatted text, not as an image.
    – Klaus D.
    Nov 19 at 9:21










  • Thank for your suggest
    – Pythoner
    Nov 19 at 9:35






  • 1




    Try to remove it by pip uninstall google-auth and then install it again. If doesn't work' remove the possible .egg file and install again
    – Yuval Pruss
    Nov 19 at 9:59










  • How can I do remove the possible .egg. When I remove google-auth and reinstall, nothing changed
    – Pythoner
    Nov 21 at 2:51








2




2




Please add your output as code-formatted text, not as an image.
– Klaus D.
Nov 19 at 9:21




Please add your output as code-formatted text, not as an image.
– Klaus D.
Nov 19 at 9:21












Thank for your suggest
– Pythoner
Nov 19 at 9:35




Thank for your suggest
– Pythoner
Nov 19 at 9:35




1




1




Try to remove it by pip uninstall google-auth and then install it again. If doesn't work' remove the possible .egg file and install again
– Yuval Pruss
Nov 19 at 9:59




Try to remove it by pip uninstall google-auth and then install it again. If doesn't work' remove the possible .egg file and install again
– Yuval Pruss
Nov 19 at 9:59












How can I do remove the possible .egg. When I remove google-auth and reinstall, nothing changed
– Pythoner
Nov 21 at 2:51




How can I do remove the possible .egg. When I remove google-auth and reinstall, nothing changed
– Pythoner
Nov 21 at 2:51












1 Answer
1






active

oldest

votes

















up vote
0
down vote













If you have installed pip by sudo,then try installing it using:



sudo pip install google-auth





share|improve this answer





















  • I also added sudo but it not work.
    – Pythoner
    Nov 19 at 9:32










  • Try sudo pip3 install google-auth
    – Ali AzG
    Nov 19 at 9:37










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    Nov 19 at 9:42













Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53371500%2finstall-google-auth-in-raspberry-python%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













If you have installed pip by sudo,then try installing it using:



sudo pip install google-auth





share|improve this answer





















  • I also added sudo but it not work.
    – Pythoner
    Nov 19 at 9:32










  • Try sudo pip3 install google-auth
    – Ali AzG
    Nov 19 at 9:37










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    Nov 19 at 9:42

















up vote
0
down vote













If you have installed pip by sudo,then try installing it using:



sudo pip install google-auth





share|improve this answer





















  • I also added sudo but it not work.
    – Pythoner
    Nov 19 at 9:32










  • Try sudo pip3 install google-auth
    – Ali AzG
    Nov 19 at 9:37










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    Nov 19 at 9:42















up vote
0
down vote










up vote
0
down vote









If you have installed pip by sudo,then try installing it using:



sudo pip install google-auth





share|improve this answer












If you have installed pip by sudo,then try installing it using:



sudo pip install google-auth






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 19 at 9:29









Ali AzG

559415




559415












  • I also added sudo but it not work.
    – Pythoner
    Nov 19 at 9:32










  • Try sudo pip3 install google-auth
    – Ali AzG
    Nov 19 at 9:37










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    Nov 19 at 9:42




















  • I also added sudo but it not work.
    – Pythoner
    Nov 19 at 9:32










  • Try sudo pip3 install google-auth
    – Ali AzG
    Nov 19 at 9:37










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    Nov 19 at 9:42


















I also added sudo but it not work.
– Pythoner
Nov 19 at 9:32




I also added sudo but it not work.
– Pythoner
Nov 19 at 9:32












Try sudo pip3 install google-auth
– Ali AzG
Nov 19 at 9:37




Try sudo pip3 install google-auth
– Ali AzG
Nov 19 at 9:37












I'm using python3 as the default. So the pip is equivalent to pip3
– Pythoner
Nov 19 at 9:42






I'm using python3 as the default. So the pip is equivalent to pip3
– Pythoner
Nov 19 at 9:42




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53371500%2finstall-google-auth-in-raspberry-python%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

RAC Tourist Trophy