Python: module not found, immediately after installing it

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 working on Ubuntu 17.10



I've installed Python 3.6



I've installed the module named dedupe:



sudo pip install dedupe
...
Successfully installed...
...
sudo pip3 install dedupe
...
Requirement already satisfied...
...


But when I try to run something that uses it I get this error.



$ python dedupe_process.py
Traceback (most recent call last):
File "dedupe_process.py", line 11, in <module>
import dedupe
ModuleNotFoundError: No module named 'dedupe'


It also doesn't work when I explicitly use python3 to run it.



What am I missing?










share|improve this question



















  • 1




    If you start a Python shell, then run import dedupe, does that work?
    – wjandrea
    Mar 20 at 20:07










  • Wait a minute, why did you install Python 3.6? It's already installed. How did you install it?
    – wjandrea
    Mar 20 at 20:08










  • @wjandrea no that doesn't work. I get the same error. I installed Anaconda 3.6 from the web
    – Legit Stack
    Mar 20 at 22:38











  • Maybe try calling your script with the system Python binary, /usr/bin/python3.
    – wjandrea
    Mar 21 at 3:33















up vote
0
down vote

favorite












I'm working on Ubuntu 17.10



I've installed Python 3.6



I've installed the module named dedupe:



sudo pip install dedupe
...
Successfully installed...
...
sudo pip3 install dedupe
...
Requirement already satisfied...
...


But when I try to run something that uses it I get this error.



$ python dedupe_process.py
Traceback (most recent call last):
File "dedupe_process.py", line 11, in <module>
import dedupe
ModuleNotFoundError: No module named 'dedupe'


It also doesn't work when I explicitly use python3 to run it.



What am I missing?










share|improve this question



















  • 1




    If you start a Python shell, then run import dedupe, does that work?
    – wjandrea
    Mar 20 at 20:07










  • Wait a minute, why did you install Python 3.6? It's already installed. How did you install it?
    – wjandrea
    Mar 20 at 20:08










  • @wjandrea no that doesn't work. I get the same error. I installed Anaconda 3.6 from the web
    – Legit Stack
    Mar 20 at 22:38











  • Maybe try calling your script with the system Python binary, /usr/bin/python3.
    – wjandrea
    Mar 21 at 3:33













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm working on Ubuntu 17.10



I've installed Python 3.6



I've installed the module named dedupe:



sudo pip install dedupe
...
Successfully installed...
...
sudo pip3 install dedupe
...
Requirement already satisfied...
...


But when I try to run something that uses it I get this error.



$ python dedupe_process.py
Traceback (most recent call last):
File "dedupe_process.py", line 11, in <module>
import dedupe
ModuleNotFoundError: No module named 'dedupe'


It also doesn't work when I explicitly use python3 to run it.



What am I missing?










share|improve this question















I'm working on Ubuntu 17.10



I've installed Python 3.6



I've installed the module named dedupe:



sudo pip install dedupe
...
Successfully installed...
...
sudo pip3 install dedupe
...
Requirement already satisfied...
...


But when I try to run something that uses it I get this error.



$ python dedupe_process.py
Traceback (most recent call last):
File "dedupe_process.py", line 11, in <module>
import dedupe
ModuleNotFoundError: No module named 'dedupe'


It also doesn't work when I explicitly use python3 to run it.



What am I missing?







python pip






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 20 at 20:10









wjandrea

7,19342255




7,19342255










asked Mar 20 at 19:24









Legit Stack

1011




1011







  • 1




    If you start a Python shell, then run import dedupe, does that work?
    – wjandrea
    Mar 20 at 20:07










  • Wait a minute, why did you install Python 3.6? It's already installed. How did you install it?
    – wjandrea
    Mar 20 at 20:08










  • @wjandrea no that doesn't work. I get the same error. I installed Anaconda 3.6 from the web
    – Legit Stack
    Mar 20 at 22:38











  • Maybe try calling your script with the system Python binary, /usr/bin/python3.
    – wjandrea
    Mar 21 at 3:33













  • 1




    If you start a Python shell, then run import dedupe, does that work?
    – wjandrea
    Mar 20 at 20:07










  • Wait a minute, why did you install Python 3.6? It's already installed. How did you install it?
    – wjandrea
    Mar 20 at 20:08










  • @wjandrea no that doesn't work. I get the same error. I installed Anaconda 3.6 from the web
    – Legit Stack
    Mar 20 at 22:38











  • Maybe try calling your script with the system Python binary, /usr/bin/python3.
    – wjandrea
    Mar 21 at 3:33








1




1




If you start a Python shell, then run import dedupe, does that work?
– wjandrea
Mar 20 at 20:07




If you start a Python shell, then run import dedupe, does that work?
– wjandrea
Mar 20 at 20:07












Wait a minute, why did you install Python 3.6? It's already installed. How did you install it?
– wjandrea
Mar 20 at 20:08




Wait a minute, why did you install Python 3.6? It's already installed. How did you install it?
– wjandrea
Mar 20 at 20:08












@wjandrea no that doesn't work. I get the same error. I installed Anaconda 3.6 from the web
– Legit Stack
Mar 20 at 22:38





@wjandrea no that doesn't work. I get the same error. I installed Anaconda 3.6 from the web
– Legit Stack
Mar 20 at 22:38













Maybe try calling your script with the system Python binary, /usr/bin/python3.
– wjandrea
Mar 21 at 3:33





Maybe try calling your script with the system Python binary, /usr/bin/python3.
– wjandrea
Mar 21 at 3:33
















active

oldest

votes











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%2f1017721%2fpython-module-not-found-immediately-after-installing-it%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017721%2fpython-module-not-found-immediately-after-installing-it%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491