ModuleNotFoundError: No module named 'nltk' after installation on a Windows 10 + Ubuntu 18.04 machine
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
I've been trying to solve this problem for the last couple of hours, without luck.
I'm trying to run a python program that I wrote on my Windows 10 machine on my other machine that has a dual-boot of Windows 10 and Ubuntu 18.04 "Bionic Beaver", if I recall correctly.
This error comes up everytime I run the code using spyder/pycharm, even after trying a lot of suggestions that I found on here and on stackoverflow:
ModuleNotFoundError: No module named 'nltk'
So far, I have tried downloading nltk
:
1) using their own website's instructions: sudo pip install -U nltk
2) using anaconda3: conda install -c anaconda nltk
First, it used to show me some permission denied problems, because I guess the anaconda3 folder was set to 'access only', but I used: sudo chown -R usr foldername
to solve that.
I even tried updating pip
, anaconda
and nltk
, without positive results.
Could this be connected to the fact of a dual-boot machine? Or maybe the fact that anaconda is installed?
Weird thing is, when I type python
in the terminal and then import nltk
it shows >>
, and no error message. This is really frustrating and I hope someone can help me out!
permissions python anaconda
add a comment |Â
up vote
1
down vote
favorite
I've been trying to solve this problem for the last couple of hours, without luck.
I'm trying to run a python program that I wrote on my Windows 10 machine on my other machine that has a dual-boot of Windows 10 and Ubuntu 18.04 "Bionic Beaver", if I recall correctly.
This error comes up everytime I run the code using spyder/pycharm, even after trying a lot of suggestions that I found on here and on stackoverflow:
ModuleNotFoundError: No module named 'nltk'
So far, I have tried downloading nltk
:
1) using their own website's instructions: sudo pip install -U nltk
2) using anaconda3: conda install -c anaconda nltk
First, it used to show me some permission denied problems, because I guess the anaconda3 folder was set to 'access only', but I used: sudo chown -R usr foldername
to solve that.
I even tried updating pip
, anaconda
and nltk
, without positive results.
Could this be connected to the fact of a dual-boot machine? Or maybe the fact that anaconda is installed?
Weird thing is, when I type python
in the terminal and then import nltk
it shows >>
, and no error message. This is really frustrating and I hope someone can help me out!
permissions python anaconda
It's probably related to using conda. I used it for a very short time, and it was easier for me to just blow it out and install things manually.
â RobotHumans
2 days ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I've been trying to solve this problem for the last couple of hours, without luck.
I'm trying to run a python program that I wrote on my Windows 10 machine on my other machine that has a dual-boot of Windows 10 and Ubuntu 18.04 "Bionic Beaver", if I recall correctly.
This error comes up everytime I run the code using spyder/pycharm, even after trying a lot of suggestions that I found on here and on stackoverflow:
ModuleNotFoundError: No module named 'nltk'
So far, I have tried downloading nltk
:
1) using their own website's instructions: sudo pip install -U nltk
2) using anaconda3: conda install -c anaconda nltk
First, it used to show me some permission denied problems, because I guess the anaconda3 folder was set to 'access only', but I used: sudo chown -R usr foldername
to solve that.
I even tried updating pip
, anaconda
and nltk
, without positive results.
Could this be connected to the fact of a dual-boot machine? Or maybe the fact that anaconda is installed?
Weird thing is, when I type python
in the terminal and then import nltk
it shows >>
, and no error message. This is really frustrating and I hope someone can help me out!
permissions python anaconda
I've been trying to solve this problem for the last couple of hours, without luck.
I'm trying to run a python program that I wrote on my Windows 10 machine on my other machine that has a dual-boot of Windows 10 and Ubuntu 18.04 "Bionic Beaver", if I recall correctly.
This error comes up everytime I run the code using spyder/pycharm, even after trying a lot of suggestions that I found on here and on stackoverflow:
ModuleNotFoundError: No module named 'nltk'
So far, I have tried downloading nltk
:
1) using their own website's instructions: sudo pip install -U nltk
2) using anaconda3: conda install -c anaconda nltk
First, it used to show me some permission denied problems, because I guess the anaconda3 folder was set to 'access only', but I used: sudo chown -R usr foldername
to solve that.
I even tried updating pip
, anaconda
and nltk
, without positive results.
Could this be connected to the fact of a dual-boot machine? Or maybe the fact that anaconda is installed?
Weird thing is, when I type python
in the terminal and then import nltk
it shows >>
, and no error message. This is really frustrating and I hope someone can help me out!
permissions python anaconda
asked 2 days ago
Waldkamel
61
61
It's probably related to using conda. I used it for a very short time, and it was easier for me to just blow it out and install things manually.
â RobotHumans
2 days ago
add a comment |Â
It's probably related to using conda. I used it for a very short time, and it was easier for me to just blow it out and install things manually.
â RobotHumans
2 days ago
It's probably related to using conda. I used it for a very short time, and it was easier for me to just blow it out and install things manually.
â RobotHumans
2 days ago
It's probably related to using conda. I used it for a very short time, and it was easier for me to just blow it out and install things manually.
â RobotHumans
2 days ago
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%2f1062144%2fmodulenotfounderror-no-module-named-nltk-after-installation-on-a-windows-10%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
It's probably related to using conda. I used it for a very short time, and it was easier for me to just blow it out and install things manually.
â RobotHumans
2 days ago