Spacy language model installation in python returns ImportError from _mklinit (ImportError: DLL load failed: The specified module could not be found.)ImportError: DLL load failed when importing Numpy installed in conda virtual environmentpip install mysql-python fails with EnvironmentError: mysql_config not foundTrouble Installing spaCy english model in python 2.7? And upgrading python to 3.5?Error opening tensorboardInstalling SpaCy English module in CondaTensorflow-GPU Installation ImportError: DLL load failed: The specified module could not be foundPip not working with Python3.6 (Ubuntu 14)Not able to load English language module of spacy with spacy.load('en')numpy is already installed with Anaconda but I get an ImportError (DLL load failed: The specified module could not be found)pysftp.CnOpts() reports “ImportError: DLL load failed: The specified procedure could not be found”Python Module Not Found, Yet Installed and in Search Path

User Story breakdown - Technical Task + User Feature

Yosemite Fire Rings - What to Expect?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

Did arcade monitors have same pixel aspect ratio as TV sets?

Why is so much work done on numerical verification of the Riemann Hypothesis?

putting logo on same line but after title, latex

This is why we puzzle

Invalid date error by date command

What is going on with 'gets(stdin)' on the site coderbyte?

Does IPv6 have similar concept of network mask?

Why does the Sun have different day lengths, but not the gas giants?

What is the evidence for the "tyranny of the majority problem" in a direct democracy context?

How do apertures which seem too large to physically fit work?

How to cover method return statement in Apex Class?

Is there an injective, monotonically increasing, strictly concave function from the reals, to the reals?

Why should universal income be universal?

What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?

Why would a new[] expression ever invoke a destructor?

How should I address a possible mistake to co-authors in a submitted paper

Angel of Condemnation - Exile creature with second ability

Add big quotation marks inside my colorbox

Why is this estimator biased?

Why did the EU agree to delay the Brexit deadline?

What if a revenant (monster) gains fire resistance?



Spacy language model installation in python returns ImportError from _mklinit (ImportError: DLL load failed: The specified module could not be found.)


ImportError: DLL load failed when importing Numpy installed in conda virtual environmentpip install mysql-python fails with EnvironmentError: mysql_config not foundTrouble Installing spaCy english model in python 2.7? And upgrading python to 3.5?Error opening tensorboardInstalling SpaCy English module in CondaTensorflow-GPU Installation ImportError: DLL load failed: The specified module could not be foundPip not working with Python3.6 (Ubuntu 14)Not able to load English language module of spacy with spacy.load('en')numpy is already installed with Anaconda but I get an ImportError (DLL load failed: The specified module could not be found)pysftp.CnOpts() reports “ImportError: DLL load failed: The specified procedure could not be found”Python Module Not Found, Yet Installed and in Search Path













0















I am currently trying to set up spaCy in my system. When I downloaded the module, no errors are being shown. However, upon downloading a language model (specifically, the english one), I got an error. The output is as follows:



Traceback (most recent call last):
File "C:ProgramDataAnaconda3librunpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:ProgramDataAnaconda3librunpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:ProgramDataAnaconda3librunpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "C:ProgramDataAnaconda3libsite-packagesspacy__init__.py", line 10, in <module>
from thinc.neural.util import prefer_gpu, require_gpu
File "C:ProgramDataAnaconda3libsite-packagesthinc__init__.py", line 5, in <module>
import numpy # noqa: F401
File "C:ProgramDataAnaconda3libsite-packagesnumpy__init__.py", line 140, in <module>
from . import _distributor_init
File "C:ProgramDataAnaconda3libsite-packagesnumpy_distributor_init.py", line 34, in <module>
from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.


I have tried reinstalling my spaCy package, but still end up getting the same error. How do I deal with this?



I am using Python 3.7.1. Tried downloading using pip install -U spacy and conda install -c conda-forge spacy. I have also tried validating with python -m spacy validate, and it also returns the same error from above.



Thanks.










share|improve this question







New contributor




Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • To clarify, I tried downloading the English Language model using python -m spacy download en

    – Wisner
    yesterday






  • 1





    If you look at where exactly the error is raised, it seems like this might actually be a problem with numpy? So maybe try uninstalling and reinstalling numpy. Otherwise, if you search for that error, you'll find more details and suggestions: stackoverflow.com/questions/36778066/…

    – Ines Montani
    yesterday






  • 1





    It did seem that it was the culprit!! pip uninstall numpy and a simple pip install numpy did solve the problem for me. I was too focused on the from . import_mkilinit that I overlooked this. Thank you very much!

    – Wisner
    yesterday















0















I am currently trying to set up spaCy in my system. When I downloaded the module, no errors are being shown. However, upon downloading a language model (specifically, the english one), I got an error. The output is as follows:



Traceback (most recent call last):
File "C:ProgramDataAnaconda3librunpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:ProgramDataAnaconda3librunpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:ProgramDataAnaconda3librunpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "C:ProgramDataAnaconda3libsite-packagesspacy__init__.py", line 10, in <module>
from thinc.neural.util import prefer_gpu, require_gpu
File "C:ProgramDataAnaconda3libsite-packagesthinc__init__.py", line 5, in <module>
import numpy # noqa: F401
File "C:ProgramDataAnaconda3libsite-packagesnumpy__init__.py", line 140, in <module>
from . import _distributor_init
File "C:ProgramDataAnaconda3libsite-packagesnumpy_distributor_init.py", line 34, in <module>
from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.


I have tried reinstalling my spaCy package, but still end up getting the same error. How do I deal with this?



I am using Python 3.7.1. Tried downloading using pip install -U spacy and conda install -c conda-forge spacy. I have also tried validating with python -m spacy validate, and it also returns the same error from above.



Thanks.










share|improve this question







New contributor




Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • To clarify, I tried downloading the English Language model using python -m spacy download en

    – Wisner
    yesterday






  • 1





    If you look at where exactly the error is raised, it seems like this might actually be a problem with numpy? So maybe try uninstalling and reinstalling numpy. Otherwise, if you search for that error, you'll find more details and suggestions: stackoverflow.com/questions/36778066/…

    – Ines Montani
    yesterday






  • 1





    It did seem that it was the culprit!! pip uninstall numpy and a simple pip install numpy did solve the problem for me. I was too focused on the from . import_mkilinit that I overlooked this. Thank you very much!

    – Wisner
    yesterday













0












0








0


1






I am currently trying to set up spaCy in my system. When I downloaded the module, no errors are being shown. However, upon downloading a language model (specifically, the english one), I got an error. The output is as follows:



Traceback (most recent call last):
File "C:ProgramDataAnaconda3librunpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:ProgramDataAnaconda3librunpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:ProgramDataAnaconda3librunpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "C:ProgramDataAnaconda3libsite-packagesspacy__init__.py", line 10, in <module>
from thinc.neural.util import prefer_gpu, require_gpu
File "C:ProgramDataAnaconda3libsite-packagesthinc__init__.py", line 5, in <module>
import numpy # noqa: F401
File "C:ProgramDataAnaconda3libsite-packagesnumpy__init__.py", line 140, in <module>
from . import _distributor_init
File "C:ProgramDataAnaconda3libsite-packagesnumpy_distributor_init.py", line 34, in <module>
from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.


I have tried reinstalling my spaCy package, but still end up getting the same error. How do I deal with this?



I am using Python 3.7.1. Tried downloading using pip install -U spacy and conda install -c conda-forge spacy. I have also tried validating with python -m spacy validate, and it also returns the same error from above.



Thanks.










share|improve this question







New contributor




Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I am currently trying to set up spaCy in my system. When I downloaded the module, no errors are being shown. However, upon downloading a language model (specifically, the english one), I got an error. The output is as follows:



Traceback (most recent call last):
File "C:ProgramDataAnaconda3librunpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:ProgramDataAnaconda3librunpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:ProgramDataAnaconda3librunpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "C:ProgramDataAnaconda3libsite-packagesspacy__init__.py", line 10, in <module>
from thinc.neural.util import prefer_gpu, require_gpu
File "C:ProgramDataAnaconda3libsite-packagesthinc__init__.py", line 5, in <module>
import numpy # noqa: F401
File "C:ProgramDataAnaconda3libsite-packagesnumpy__init__.py", line 140, in <module>
from . import _distributor_init
File "C:ProgramDataAnaconda3libsite-packagesnumpy_distributor_init.py", line 34, in <module>
from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.


I have tried reinstalling my spaCy package, but still end up getting the same error. How do I deal with this?



I am using Python 3.7.1. Tried downloading using pip install -U spacy and conda install -c conda-forge spacy. I have also tried validating with python -m spacy validate, and it also returns the same error from above.



Thanks.







python pip conda importerror spacy






share|improve this question







New contributor




Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









WisnerWisner

364




364




New contributor




Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • To clarify, I tried downloading the English Language model using python -m spacy download en

    – Wisner
    yesterday






  • 1





    If you look at where exactly the error is raised, it seems like this might actually be a problem with numpy? So maybe try uninstalling and reinstalling numpy. Otherwise, if you search for that error, you'll find more details and suggestions: stackoverflow.com/questions/36778066/…

    – Ines Montani
    yesterday






  • 1





    It did seem that it was the culprit!! pip uninstall numpy and a simple pip install numpy did solve the problem for me. I was too focused on the from . import_mkilinit that I overlooked this. Thank you very much!

    – Wisner
    yesterday

















  • To clarify, I tried downloading the English Language model using python -m spacy download en

    – Wisner
    yesterday






  • 1





    If you look at where exactly the error is raised, it seems like this might actually be a problem with numpy? So maybe try uninstalling and reinstalling numpy. Otherwise, if you search for that error, you'll find more details and suggestions: stackoverflow.com/questions/36778066/…

    – Ines Montani
    yesterday






  • 1





    It did seem that it was the culprit!! pip uninstall numpy and a simple pip install numpy did solve the problem for me. I was too focused on the from . import_mkilinit that I overlooked this. Thank you very much!

    – Wisner
    yesterday
















To clarify, I tried downloading the English Language model using python -m spacy download en

– Wisner
yesterday





To clarify, I tried downloading the English Language model using python -m spacy download en

– Wisner
yesterday




1




1





If you look at where exactly the error is raised, it seems like this might actually be a problem with numpy? So maybe try uninstalling and reinstalling numpy. Otherwise, if you search for that error, you'll find more details and suggestions: stackoverflow.com/questions/36778066/…

– Ines Montani
yesterday





If you look at where exactly the error is raised, it seems like this might actually be a problem with numpy? So maybe try uninstalling and reinstalling numpy. Otherwise, if you search for that error, you'll find more details and suggestions: stackoverflow.com/questions/36778066/…

– Ines Montani
yesterday




1




1





It did seem that it was the culprit!! pip uninstall numpy and a simple pip install numpy did solve the problem for me. I was too focused on the from . import_mkilinit that I overlooked this. Thank you very much!

– Wisner
yesterday





It did seem that it was the culprit!! pip uninstall numpy and a simple pip install numpy did solve the problem for me. I was too focused on the from . import_mkilinit that I overlooked this. Thank you very much!

– Wisner
yesterday












1 Answer
1






active

oldest

votes


















1














Thanks to Ines Montani for pointing this out!



It did seem that a quick reinstallation of numpy helps solve the problem. However, what I did realize is that:



Using pip uninstall numpy and simple pip install numpy solves the problem.



However:



Using conda remove --force numpy and conda install numpy does not solve the problem for me.






share|improve this answer








New contributor




Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















    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
    );



    );






    Wisner is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55280666%2fspacy-language-model-installation-in-python-returns-importerror-from-mklinit-i%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









    1














    Thanks to Ines Montani for pointing this out!



    It did seem that a quick reinstallation of numpy helps solve the problem. However, what I did realize is that:



    Using pip uninstall numpy and simple pip install numpy solves the problem.



    However:



    Using conda remove --force numpy and conda install numpy does not solve the problem for me.






    share|improve this answer








    New contributor




    Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      1














      Thanks to Ines Montani for pointing this out!



      It did seem that a quick reinstallation of numpy helps solve the problem. However, what I did realize is that:



      Using pip uninstall numpy and simple pip install numpy solves the problem.



      However:



      Using conda remove --force numpy and conda install numpy does not solve the problem for me.






      share|improve this answer








      New contributor




      Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        1












        1








        1







        Thanks to Ines Montani for pointing this out!



        It did seem that a quick reinstallation of numpy helps solve the problem. However, what I did realize is that:



        Using pip uninstall numpy and simple pip install numpy solves the problem.



        However:



        Using conda remove --force numpy and conda install numpy does not solve the problem for me.






        share|improve this answer








        New contributor




        Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Thanks to Ines Montani for pointing this out!



        It did seem that a quick reinstallation of numpy helps solve the problem. However, what I did realize is that:



        Using pip uninstall numpy and simple pip install numpy solves the problem.



        However:



        Using conda remove --force numpy and conda install numpy does not solve the problem for me.







        share|improve this answer








        New contributor




        Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered yesterday









        WisnerWisner

        364




        364




        New contributor




        Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Wisner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






















            Wisner is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            Wisner is a new contributor. Be nice, and check out our Code of Conduct.












            Wisner is a new contributor. Be nice, and check out our Code of Conduct.











            Wisner is a new contributor. Be nice, and check out our Code of Conduct.














            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55280666%2fspacy-language-model-installation-in-python-returns-importerror-from-mklinit-i%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

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript