How to Install Numpy in Visual Studio (2023)

Поділитися
Вставка
  • Опубліковано 8 чер 2023
  • In this tutorial, I'll show you how to install Numpy in Visual Studio. Numpy is a popular Python library that provides a multidimensional array object, various derived objects (such as masked arrays and matrices), and an assortment of routines for fast operations on arrays, including mathematical, logical, shape manipulation and many other operations.
    Here are the three steps covered in this video:
    1. Opening the Project in Visual Studio
    2. Creating and Activating a Virtual Environment
    3. Installing Numpy in Visual Studio
    If you have issues installing Numpy in Visual Studio in windows 10, or windows 11, let me know in the comments below
    #python #matplotlib #learnpython

КОМЕНТАРІ • 24

  • @TheCodeCity
    @TheCodeCity  7 місяців тому +1

    👉If this video helped you, consider buying me a coffee so I can continue making free helpful videos: www.buymeacoffee.com/thecodecity
    Thank you for watching! 🤜🙏

  • @aymanoor9634
    @aymanoor9634 2 місяці тому +2

    i have installed the numpy library accc to your video and it is successfully installed but when i run .ipynb file i received this error (No module named 'numpy')

  • @SMILEY-np1ty
    @SMILEY-np1ty 3 місяці тому

    Hello,when I run the command *import numpy* a pop up is coming telling that *python has stopped working* and Problem Event Name=*APPCRASH* now what should I do,please help me.

  • @IMAM_YT
    @IMAM_YT 4 місяці тому

    There is no Scripts folder. bin is created but I'm windows user.

  • @IniDini0116
    @IniDini0116 6 місяців тому +4

    Hello i hve some trouble.. in that say "cannot be loaded because running scripts is disabled on this system, For more....."

    • @tanyasharma1373
      @tanyasharma1373 5 місяців тому

      Same problem

    • @cartenmartain6217
      @cartenmartain6217 5 місяців тому

      Hi guys to solve this problem you need to
      -go into your windows powershell terminal
      -type "Set-ExecutionPolicy Unrestricted"
      -this should fix it, double check it by typing Get-ExecutionPolicy, it should say "unrestricted"

    • @nimrodmurerwa7475
      @nimrodmurerwa7475 4 місяці тому

      i have a similar issue.

  • @ghargie5368
    @ghargie5368 6 місяців тому +2

    I followed the steps, but when I try to run the code I get the error “No module named ‘numpy’”

    • @TheCodeCity
      @TheCodeCity  6 місяців тому

      What's the python version being used in your VS code, check at the bottom right? Is it the same as the one in which you install numpy?

  • @almiores2287
    @almiores2287 7 місяців тому

    hello i have a problem, when i'm trying to create virtual enviroment nothing is happening. Here is my cmd code:
    X:\aboba>python -m venv mye
    Python
    X:\aboba>mye\Scripts\activate
    The system cannot find the path specified.
    X:\aboba>pip
    'pip' is not recognized as an internal or external command,
    operable program or batch file.

    • @TheCodeCity
      @TheCodeCity  7 місяців тому

      Try putting .\ in from of mye

    • @azizhmidi5835
      @azizhmidi5835 6 місяців тому +2

      @@TheCodeCity THANK YOU SO MUCH :)))

  • @DARGtube
    @DARGtube 5 місяців тому

    Hello dude! I am getting this message at terminal:
    Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

    • @TheCodeCity
      @TheCodeCity  4 місяці тому

      Check this: ua-cam.com/video/piF7pYVZ84M/v-deo.html

  • @jotarokujo3488
    @jotarokujo3488 6 місяців тому +1

    the command "python -m venv my_venv" doesn't work for me, it said that "python is not found. execute without argument to proceed"

    • @TheCodeCity
      @TheCodeCity  6 місяців тому +1

      It looks like python is not added to the path variable, check this: ua-cam.com/video/o8TLlRWZCsg/v-deo.htmlsi=47RFoekmxjfJrb1f

    • @selleniya999
      @selleniya999 2 місяці тому

      я пропустила этот шаг, раз он всё-равно не получается )

  • @nilipalas
    @nilipalas 5 місяців тому

    i love you,solved it yar

  • @CarrigansGuitarClub
    @CarrigansGuitarClub Місяць тому

    This is Visual Code not Visual Studio

  • @selleniya999
    @selleniya999 2 місяці тому

    получилось! Спасибо

    • @TheCodeCity
      @TheCodeCity  2 місяці тому

      You're welcome! Glad it helped