Python Virtual Environments & The Facts of Life

Поделиться
HTML-код
  • Опубликовано: 29 окт 2023
  • If you develop Python programs, you need to use Virtual Environments! In this video, I'll explain what they are, how to use virtual them and The Facts of Life.
    Support me on Patreon
    www.patreon.com/bePatron?u=63...
    Video Slides
    github.com/bcafferky/shared/b...
  • НаукаНаука

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

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

    Thoroughly enjoyed this and created my virtual environment. Thanks Bryan

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

    Thank you for making this video. I just learned why these are important the hard way when I updated matplotlib and some library I was just experimenting with and completely broke my scripts. Now I have some steps to take to start using these.

    • @BryanCafferky
      @BryanCafferky  8 месяцев назад +1

      Yep. But when you learn the hard way, you remember. Thanks

  • @injeranamitmita
    @injeranamitmita 8 месяцев назад +1

    great stuff Bryan! I have seen in the past using requirements file, how does that come into play with venv or does it come into play at all? thanks!

    • @Noobsmove
      @Noobsmove 8 месяцев назад +1

      The same way you can install a single package using "pip install " you can install all you dependencies using "pip install -r ".
      And if you work properly (as tought by Bryan :P ), you run the pip install command while you are in your virtual environment.

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

      I do discuss this in the video.