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.
    yesterday










  • Thank for your suggest
    – Pythoner
    yesterday






  • 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
    yesterday















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.
    yesterday










  • Thank for your suggest
    – Pythoner
    yesterday






  • 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
    yesterday













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 yesterday









Yuval Pruss

2,06931433




2,06931433










asked yesterday









Pythoner

206




206








  • 2




    Please add your output as code-formatted text, not as an image.
    – Klaus D.
    yesterday










  • Thank for your suggest
    – Pythoner
    yesterday






  • 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
    yesterday














  • 2




    Please add your output as code-formatted text, not as an image.
    – Klaus D.
    yesterday










  • Thank for your suggest
    – Pythoner
    yesterday






  • 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
    yesterday








2




2




Please add your output as code-formatted text, not as an image.
– Klaus D.
yesterday




Please add your output as code-formatted text, not as an image.
– Klaus D.
yesterday












Thank for your suggest
– Pythoner
yesterday




Thank for your suggest
– Pythoner
yesterday




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
yesterday




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
yesterday












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
    yesterday










  • Try sudo pip3 install google-auth
    – Ali AzG
    yesterday










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    yesterday













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
    yesterday










  • Try sudo pip3 install google-auth
    – Ali AzG
    yesterday










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    yesterday

















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
    yesterday










  • Try sudo pip3 install google-auth
    – Ali AzG
    yesterday










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    yesterday















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 yesterday









Ali AzG

432413




432413












  • I also added sudo but it not work.
    – Pythoner
    yesterday










  • Try sudo pip3 install google-auth
    – Ali AzG
    yesterday










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    yesterday




















  • I also added sudo but it not work.
    – Pythoner
    yesterday










  • Try sudo pip3 install google-auth
    – Ali AzG
    yesterday










  • I'm using python3 as the default. So the pip is equivalent to pip3
    – Pythoner
    yesterday


















I also added sudo but it not work.
– Pythoner
yesterday




I also added sudo but it not work.
– Pythoner
yesterday












Try sudo pip3 install google-auth
– Ali AzG
yesterday




Try sudo pip3 install google-auth
– Ali AzG
yesterday












I'm using python3 as the default. So the pip is equivalent to pip3
– Pythoner
yesterday






I'm using python3 as the default. So the pip is equivalent to pip3
– Pythoner
yesterday




















 

draft saved


draft discarded



















































 


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

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

SQL update select statement

'app-layout' is not a known element: how to share Component with different Modules