VS Code importing the multiarray numpy extension module failedWhy does the 'tensorflow' module import fail in Spyder and not in Jupyter Notebook and not in Python prompt?Importing the multiarray numpy extension module failed (Just with Anaconda)How to run Spyder with Python 3.7 with AnacondaSpyder environment and Anaconda prompt point to different interpretersAnaconda Prompt finds libraries, cmd -> Python doesn't. Python was only installed with Anaconda package, nothing elseHow to get Anaconda3 packages to work with PhCharm CommunityPyCharm using Anaconda python.exe with Modules fails - ModuleNotFoundError: No module named 'PySide'Numpy fails to load in Windows command window. Python version 3.7.1how to fix numpy module not found and installing tensorflowImporting the multiarray Numpy extension module failed Visual Studio 2019 Anaconda 1.9.6 Python 3.7.1

Why do (or did, until very recently) aircraft transponders wait to be interrogated before broadcasting beacon signals?

C++ logging library

Grandpa has another non math question

What does the homotopy coherent nerve do to spaces of enriched functors?

What plausible reason could I give for my FTL drive only working in space

What is the logic behind charging tax _in the form of money_ for owning property when the property does not produce money?

What's the difference between DHCP and NAT? Are they mutually exclusive?

Does it make sense to use a wavelet that is equal to a sine of one period?

What is the interaction between Muraganda Petroglyphs and Humility?

one-hot-encoding categorical data gives error

What's the best way to quit a job mostly because of money?

Open Drain pin not going to GND

How many sets of dice do I need for D&D?

Is it advisable to add a location heads-up when a scene changes in a novel?

How to avoid typing 'git' at the begining of every Git command

Why is my power MOSFET heating up when on?

How can you estimate a spike story?

Is Jesus the last Prophet?

Does a single fopen introduce TOCTOU vulnerability?

Run script with arguments as user

Are regulatory compliance checks performed within the EU bloc?

Noblesse oblige loanword in German

Why is long-term living in Almost-Earth causing severe health problems?

ASCII Meme Arrow Generator



VS Code importing the multiarray numpy extension module failed


Why does the 'tensorflow' module import fail in Spyder and not in Jupyter Notebook and not in Python prompt?Importing the multiarray numpy extension module failed (Just with Anaconda)How to run Spyder with Python 3.7 with AnacondaSpyder environment and Anaconda prompt point to different interpretersAnaconda Prompt finds libraries, cmd -> Python doesn't. Python was only installed with Anaconda package, nothing elseHow to get Anaconda3 packages to work with PhCharm CommunityPyCharm using Anaconda python.exe with Modules fails - ModuleNotFoundError: No module named 'PySide'Numpy fails to load in Windows command window. Python version 3.7.1how to fix numpy module not found and installing tensorflowImporting the multiarray Numpy extension module failed Visual Studio 2019 Anaconda 1.9.6 Python 3.7.1






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















import numpy


is not working. This started because I couldn't get PyQt5 to work on my home computer. In the Spyder IDE, I can import modules and get everything working fine, but in VS Code, I can't import basic modules. I'm on Windows 10 with Python 3.7. I've Googled a lot and have tried these:



  1. Uninstall Anaconda and VS Code, and reinstall both

  2. In VS Code, press Ctrl+Shift+P, Select Interpreter, and select Python 3.7.1 64-bit ('base':conda), ~Anaconda3python.exe

  3. I saw on another similar question that python3.dll may be missing from one of my Anaconda directories, but it is indeed there.

  4. Add environment variable to PATH by going to System Properties > Advanced tab > Environment Variables... > under System Path, Edit, New > C:UsersmynameAnaconda3Scripts

Once I did #4 above, the new error message in VS Code when importing numpy is DLL load failed: The specified module could not be found. And in the terminal, I see: The term 'conda' is not recognized as the name of the cmdlet, ...



One thing I notice is in a Python prompt (not Anaconda) I type:



import sys
print(sys.version)


The output is 3.7.2, while in VS Code, the Select Interpreter (see above #2) says Python 3.7.1. Not sure if this is important.



Any help? Everything works on my work computer fine, but it's just my home computer that is being difficult.










share|improve this question






















  • Can you try help("modules") in both a shell and in a script within vs code and compare the list. It seems like you are using two different python installations. Do you have Python installed outside of Anaconda?

    – AlexNe
    Mar 24 at 23:28












  • I do have Python installed outside of Anaconda. Is there a good reason to delete that version? I have the same dual installation setup at work where everything works fine.

    – maxutil
    Mar 24 at 23:59











  • It should be fine, but my guess is that's why the versions are different. I guess you could install numpy via anaconda if it is not already and try again. And please check your modules with help("modules")...and oh. Having used both Anaconda and VSC imo Anaconda doesnt bring much functionality that is worth the hassle.

    – AlexNe
    Mar 25 at 6:38


















0















import numpy


is not working. This started because I couldn't get PyQt5 to work on my home computer. In the Spyder IDE, I can import modules and get everything working fine, but in VS Code, I can't import basic modules. I'm on Windows 10 with Python 3.7. I've Googled a lot and have tried these:



  1. Uninstall Anaconda and VS Code, and reinstall both

  2. In VS Code, press Ctrl+Shift+P, Select Interpreter, and select Python 3.7.1 64-bit ('base':conda), ~Anaconda3python.exe

  3. I saw on another similar question that python3.dll may be missing from one of my Anaconda directories, but it is indeed there.

  4. Add environment variable to PATH by going to System Properties > Advanced tab > Environment Variables... > under System Path, Edit, New > C:UsersmynameAnaconda3Scripts

Once I did #4 above, the new error message in VS Code when importing numpy is DLL load failed: The specified module could not be found. And in the terminal, I see: The term 'conda' is not recognized as the name of the cmdlet, ...



One thing I notice is in a Python prompt (not Anaconda) I type:



import sys
print(sys.version)


The output is 3.7.2, while in VS Code, the Select Interpreter (see above #2) says Python 3.7.1. Not sure if this is important.



Any help? Everything works on my work computer fine, but it's just my home computer that is being difficult.










share|improve this question






















  • Can you try help("modules") in both a shell and in a script within vs code and compare the list. It seems like you are using two different python installations. Do you have Python installed outside of Anaconda?

    – AlexNe
    Mar 24 at 23:28












  • I do have Python installed outside of Anaconda. Is there a good reason to delete that version? I have the same dual installation setup at work where everything works fine.

    – maxutil
    Mar 24 at 23:59











  • It should be fine, but my guess is that's why the versions are different. I guess you could install numpy via anaconda if it is not already and try again. And please check your modules with help("modules")...and oh. Having used both Anaconda and VSC imo Anaconda doesnt bring much functionality that is worth the hassle.

    – AlexNe
    Mar 25 at 6:38














0












0








0








import numpy


is not working. This started because I couldn't get PyQt5 to work on my home computer. In the Spyder IDE, I can import modules and get everything working fine, but in VS Code, I can't import basic modules. I'm on Windows 10 with Python 3.7. I've Googled a lot and have tried these:



  1. Uninstall Anaconda and VS Code, and reinstall both

  2. In VS Code, press Ctrl+Shift+P, Select Interpreter, and select Python 3.7.1 64-bit ('base':conda), ~Anaconda3python.exe

  3. I saw on another similar question that python3.dll may be missing from one of my Anaconda directories, but it is indeed there.

  4. Add environment variable to PATH by going to System Properties > Advanced tab > Environment Variables... > under System Path, Edit, New > C:UsersmynameAnaconda3Scripts

Once I did #4 above, the new error message in VS Code when importing numpy is DLL load failed: The specified module could not be found. And in the terminal, I see: The term 'conda' is not recognized as the name of the cmdlet, ...



One thing I notice is in a Python prompt (not Anaconda) I type:



import sys
print(sys.version)


The output is 3.7.2, while in VS Code, the Select Interpreter (see above #2) says Python 3.7.1. Not sure if this is important.



Any help? Everything works on my work computer fine, but it's just my home computer that is being difficult.










share|improve this question














import numpy


is not working. This started because I couldn't get PyQt5 to work on my home computer. In the Spyder IDE, I can import modules and get everything working fine, but in VS Code, I can't import basic modules. I'm on Windows 10 with Python 3.7. I've Googled a lot and have tried these:



  1. Uninstall Anaconda and VS Code, and reinstall both

  2. In VS Code, press Ctrl+Shift+P, Select Interpreter, and select Python 3.7.1 64-bit ('base':conda), ~Anaconda3python.exe

  3. I saw on another similar question that python3.dll may be missing from one of my Anaconda directories, but it is indeed there.

  4. Add environment variable to PATH by going to System Properties > Advanced tab > Environment Variables... > under System Path, Edit, New > C:UsersmynameAnaconda3Scripts

Once I did #4 above, the new error message in VS Code when importing numpy is DLL load failed: The specified module could not be found. And in the terminal, I see: The term 'conda' is not recognized as the name of the cmdlet, ...



One thing I notice is in a Python prompt (not Anaconda) I type:



import sys
print(sys.version)


The output is 3.7.2, while in VS Code, the Select Interpreter (see above #2) says Python 3.7.1. Not sure if this is important.



Any help? Everything works on my work computer fine, but it's just my home computer that is being difficult.







visual-studio-code anaconda






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 24 at 23:02









maxutilmaxutil

486




486












  • Can you try help("modules") in both a shell and in a script within vs code and compare the list. It seems like you are using two different python installations. Do you have Python installed outside of Anaconda?

    – AlexNe
    Mar 24 at 23:28












  • I do have Python installed outside of Anaconda. Is there a good reason to delete that version? I have the same dual installation setup at work where everything works fine.

    – maxutil
    Mar 24 at 23:59











  • It should be fine, but my guess is that's why the versions are different. I guess you could install numpy via anaconda if it is not already and try again. And please check your modules with help("modules")...and oh. Having used both Anaconda and VSC imo Anaconda doesnt bring much functionality that is worth the hassle.

    – AlexNe
    Mar 25 at 6:38


















  • Can you try help("modules") in both a shell and in a script within vs code and compare the list. It seems like you are using two different python installations. Do you have Python installed outside of Anaconda?

    – AlexNe
    Mar 24 at 23:28












  • I do have Python installed outside of Anaconda. Is there a good reason to delete that version? I have the same dual installation setup at work where everything works fine.

    – maxutil
    Mar 24 at 23:59











  • It should be fine, but my guess is that's why the versions are different. I guess you could install numpy via anaconda if it is not already and try again. And please check your modules with help("modules")...and oh. Having used both Anaconda and VSC imo Anaconda doesnt bring much functionality that is worth the hassle.

    – AlexNe
    Mar 25 at 6:38

















Can you try help("modules") in both a shell and in a script within vs code and compare the list. It seems like you are using two different python installations. Do you have Python installed outside of Anaconda?

– AlexNe
Mar 24 at 23:28






Can you try help("modules") in both a shell and in a script within vs code and compare the list. It seems like you are using two different python installations. Do you have Python installed outside of Anaconda?

– AlexNe
Mar 24 at 23:28














I do have Python installed outside of Anaconda. Is there a good reason to delete that version? I have the same dual installation setup at work where everything works fine.

– maxutil
Mar 24 at 23:59





I do have Python installed outside of Anaconda. Is there a good reason to delete that version? I have the same dual installation setup at work where everything works fine.

– maxutil
Mar 24 at 23:59













It should be fine, but my guess is that's why the versions are different. I guess you could install numpy via anaconda if it is not already and try again. And please check your modules with help("modules")...and oh. Having used both Anaconda and VSC imo Anaconda doesnt bring much functionality that is worth the hassle.

– AlexNe
Mar 25 at 6:38






It should be fine, but my guess is that's why the versions are different. I guess you could install numpy via anaconda if it is not already and try again. And please check your modules with help("modules")...and oh. Having used both Anaconda and VSC imo Anaconda doesnt bring much functionality that is worth the hassle.

– AlexNe
Mar 25 at 6:38













1 Answer
1






active

oldest

votes


















0














What ended up working for me is downgrading my Python installation from 3.7.1 to 3.6.4 with:



conda install python=3.6.4


Hope this helps someone out there.






share|improve this answer























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



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55329420%2fvs-code-importing-the-multiarray-numpy-extension-module-failed%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









    0














    What ended up working for me is downgrading my Python installation from 3.7.1 to 3.6.4 with:



    conda install python=3.6.4


    Hope this helps someone out there.






    share|improve this answer



























      0














      What ended up working for me is downgrading my Python installation from 3.7.1 to 3.6.4 with:



      conda install python=3.6.4


      Hope this helps someone out there.






      share|improve this answer

























        0












        0








        0







        What ended up working for me is downgrading my Python installation from 3.7.1 to 3.6.4 with:



        conda install python=3.6.4


        Hope this helps someone out there.






        share|improve this answer













        What ended up working for me is downgrading my Python installation from 3.7.1 to 3.6.4 with:



        conda install python=3.6.4


        Hope this helps someone out there.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 26 at 13:40









        maxutilmaxutil

        486




        486





























            draft saved

            draft discarded
















































            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%2f55329420%2fvs-code-importing-the-multiarray-numpy-extension-module-failed%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

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해