How to Install Numpy in Visual Studio (2023)

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • 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

Комментарии • 34

  • @TheCodeCity
    @TheCodeCity  11 месяцев назад +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! 🤜🙏

  • @Pak02
    @Pak02 29 дней назад +1

    Very helpful !!!

  • @ShaheenKhanConsultant
    @ShaheenKhanConsultant 2 месяца назад

    Wonderful

    • @TheCodeCity
      @TheCodeCity  2 месяца назад

      Thank you for watching, glad it helped 🙂

  • @jyotiraditya2229
    @jyotiraditya2229 2 месяца назад

    Thankyou man

  • @aymanoor9634
    @aymanoor9634 5 месяцев назад +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')

  • @DiniFatZharaNuari0116
    @DiniFatZharaNuari0116 10 месяцев назад +4

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

    • @Wildlifeknowledgeinsects
      @Wildlifeknowledgeinsects 9 месяцев назад

      Same problem

    • @cartenmartain6217
      @cartenmartain6217 9 месяцев назад

      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 8 месяцев назад

      i have a similar issue.

  • @nilipalas
    @nilipalas 9 месяцев назад

    i love you,solved it yar

  • @ghargie5368
    @ghargie5368 10 месяцев назад +2

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

    • @TheCodeCity
      @TheCodeCity  10 месяцев назад

      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?

  • @jotarokujo3488
    @jotarokujo3488 10 месяцев назад +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  10 месяцев назад +1

      It looks like python is not added to the path variable, check this: ruclips.net/video/o8TLlRWZCsg/видео.htmlsi=47RFoekmxjfJrb1f

    • @selleniya999
      @selleniya999 6 месяцев назад

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

  • @SMILEY-np1ty
    @SMILEY-np1ty 7 месяцев назад

    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.

  • @RakshithaTejavath
    @RakshithaTejavath 3 месяца назад

    How I change numpy version according to python version

  • @DARGtube
    @DARGtube 8 месяцев назад

    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  8 месяцев назад

      Check this: ruclips.net/video/piF7pYVZ84M/видео.html

  • @IMAM_YT
    @IMAM_YT 8 месяцев назад

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

  • @almiores2287
    @almiores2287 11 месяцев назад

    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  11 месяцев назад

      Try putting .\ in from of mye

    • @azizhmidi5835
      @azizhmidi5835 10 месяцев назад +2

      @@TheCodeCity THANK YOU SO MUCH :)))

  • @selleniya999
    @selleniya999 6 месяцев назад

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

    • @TheCodeCity
      @TheCodeCity  6 месяцев назад

      You're welcome! Glad it helped

  • @CarrigansGuitarClub
    @CarrigansGuitarClub 5 месяцев назад

    This is Visual Code not Visual Studio

  • @kutybora
    @kutybora 3 месяца назад

    how can ı change my new version to old version

    • @TheCodeCity
      @TheCodeCity  3 месяца назад

      Python version or Numpy version?

    • @kutybora
      @kutybora 3 месяца назад

      @@TheCodeCity numpy 2.0.0

    • @hoshy-d7j
      @hoshy-d7j День назад

      @@TheCodeCity python version