Python: module not found, immediately after installing it


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?
python pip
add a comment |Â
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?
python pip
1
If you start a Python shell, then runimport 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
add a comment |Â
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?
python pip
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
python pip
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 runimport 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
add a comment |Â
1
If you start a Python shell, then runimport 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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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