Why do I get this import error when I have the required DLLs?
from sklearn.feature_extraction.text import CountVectorizer
getting this error
from sklearn.feature_extraction.text import CountVectorizer
File "C:UsersAnaconda3libsite-packagessklearn__init__.py", line 57, in
from .base import clone
File "C:UsersAnaconda3libsite-packagessklearnbase.py", line 12, in
from .utils.fixes import signature
File "C:UsersAnaconda3libsite-packagessklearnutils__init__.py", line 11, in
from .validation import (as_float_array,
File "C:UsersAnaconda3libsite-packagessklearnutilsvalidation.py", line 18, in
from ..utils.fixes import signature
File "C:UsersAnaconda3libsite-packagessklearnutilsfixes.py", line 291, in
from scipy.sparse.linalg import lsqr as sparse_lsqr
from .eigen import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigen__init__.py", line 11, in
from .arpack import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigenarpack__init__.py", line 22, in
from .arpack import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigenarpackarpack.py", line 45, in
from . import _arpack
ImportError: DLL load failed: The specified module could not be found.
python scikit-learn nlp anaconda
add a comment |
from sklearn.feature_extraction.text import CountVectorizer
getting this error
from sklearn.feature_extraction.text import CountVectorizer
File "C:UsersAnaconda3libsite-packagessklearn__init__.py", line 57, in
from .base import clone
File "C:UsersAnaconda3libsite-packagessklearnbase.py", line 12, in
from .utils.fixes import signature
File "C:UsersAnaconda3libsite-packagessklearnutils__init__.py", line 11, in
from .validation import (as_float_array,
File "C:UsersAnaconda3libsite-packagessklearnutilsvalidation.py", line 18, in
from ..utils.fixes import signature
File "C:UsersAnaconda3libsite-packagessklearnutilsfixes.py", line 291, in
from scipy.sparse.linalg import lsqr as sparse_lsqr
from .eigen import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigen__init__.py", line 11, in
from .arpack import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigenarpack__init__.py", line 22, in
from .arpack import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigenarpackarpack.py", line 45, in
from . import _arpack
ImportError: DLL load failed: The specified module could not be found.
python scikit-learn nlp anaconda
add a comment |
from sklearn.feature_extraction.text import CountVectorizer
getting this error
from sklearn.feature_extraction.text import CountVectorizer
File "C:UsersAnaconda3libsite-packagessklearn__init__.py", line 57, in
from .base import clone
File "C:UsersAnaconda3libsite-packagessklearnbase.py", line 12, in
from .utils.fixes import signature
File "C:UsersAnaconda3libsite-packagessklearnutils__init__.py", line 11, in
from .validation import (as_float_array,
File "C:UsersAnaconda3libsite-packagessklearnutilsvalidation.py", line 18, in
from ..utils.fixes import signature
File "C:UsersAnaconda3libsite-packagessklearnutilsfixes.py", line 291, in
from scipy.sparse.linalg import lsqr as sparse_lsqr
from .eigen import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigen__init__.py", line 11, in
from .arpack import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigenarpack__init__.py", line 22, in
from .arpack import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigenarpackarpack.py", line 45, in
from . import _arpack
ImportError: DLL load failed: The specified module could not be found.
python scikit-learn nlp anaconda
from sklearn.feature_extraction.text import CountVectorizer
getting this error
from sklearn.feature_extraction.text import CountVectorizer
File "C:UsersAnaconda3libsite-packagessklearn__init__.py", line 57, in
from .base import clone
File "C:UsersAnaconda3libsite-packagessklearnbase.py", line 12, in
from .utils.fixes import signature
File "C:UsersAnaconda3libsite-packagessklearnutils__init__.py", line 11, in
from .validation import (as_float_array,
File "C:UsersAnaconda3libsite-packagessklearnutilsvalidation.py", line 18, in
from ..utils.fixes import signature
File "C:UsersAnaconda3libsite-packagessklearnutilsfixes.py", line 291, in
from scipy.sparse.linalg import lsqr as sparse_lsqr
from .eigen import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigen__init__.py", line 11, in
from .arpack import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigenarpack__init__.py", line 22, in
from .arpack import *
File "C:UsersAnaconda3libsite-packagesscipysparselinalgeigenarpackarpack.py", line 45, in
from . import _arpack
ImportError: DLL load failed: The specified module could not be found.
python scikit-learn nlp anaconda
python scikit-learn nlp anaconda
asked Dec 30 '18 at 5:19
user9683713user9683713
384
384
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
According to this github issue https://github.com/hmmlearn/hmmlearn/issues/87
"The solution is to install mkl."
conda install mkl
General advice in case like this is to google last two lines of the stack trace, usually you will find a github or similar thread about it.
Thank You Tomasz. It's working fine after installing the mkl package.
– user9683713
Jan 6 at 13:57
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53975449%2fwhy-do-i-get-this-import-error-when-i-have-the-required-dlls%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
According to this github issue https://github.com/hmmlearn/hmmlearn/issues/87
"The solution is to install mkl."
conda install mkl
General advice in case like this is to google last two lines of the stack trace, usually you will find a github or similar thread about it.
Thank You Tomasz. It's working fine after installing the mkl package.
– user9683713
Jan 6 at 13:57
add a comment |
According to this github issue https://github.com/hmmlearn/hmmlearn/issues/87
"The solution is to install mkl."
conda install mkl
General advice in case like this is to google last two lines of the stack trace, usually you will find a github or similar thread about it.
Thank You Tomasz. It's working fine after installing the mkl package.
– user9683713
Jan 6 at 13:57
add a comment |
According to this github issue https://github.com/hmmlearn/hmmlearn/issues/87
"The solution is to install mkl."
conda install mkl
General advice in case like this is to google last two lines of the stack trace, usually you will find a github or similar thread about it.
According to this github issue https://github.com/hmmlearn/hmmlearn/issues/87
"The solution is to install mkl."
conda install mkl
General advice in case like this is to google last two lines of the stack trace, usually you will find a github or similar thread about it.
answered Dec 30 '18 at 7:23
Tomasz SwiderTomasz Swider
1,255815
1,255815
Thank You Tomasz. It's working fine after installing the mkl package.
– user9683713
Jan 6 at 13:57
add a comment |
Thank You Tomasz. It's working fine after installing the mkl package.
– user9683713
Jan 6 at 13:57
Thank You Tomasz. It's working fine after installing the mkl package.
– user9683713
Jan 6 at 13:57
Thank You Tomasz. It's working fine after installing the mkl package.
– user9683713
Jan 6 at 13:57
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53975449%2fwhy-do-i-get-this-import-error-when-i-have-the-required-dlls%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
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