Which Python Package Manager Should You Use?

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024
  • In this episode of AI Adventures, Yufeng discusses some of the options available when it comes to managing your Python environment for machine learning and data science, and helps you make an informed decision based on your needs.
    Learn more through our hands-on labs → goo.gle/3gY4Auo
    Associated Medium post "Which Python package manager should you use?": goo.gl/uGwXiA
    Resources:
    Pip: goo.gl/YwDW8
    Virtualenv: goo.gl/5ix9f
    Anaconda: goo.gl/thHWnF
    Pyenv: goo.gl/RU0Swa
    Watch more episodes of AI Adventures: goo.gl/UC5usG
    Subscribe to be notified of new episodes: goo.gl/S0AS51
    #AIAdventures
  • НаукаНаука

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

  • @MouldyCheesePie
    @MouldyCheesePie 4 года назад +59

    Now i finally fkn understand packages and virtual libraries. Spent hours confused about this yesterday... The youtube algorithm is just too good, it knows exactly what I need.

    • @gibsosmart
      @gibsosmart 4 года назад

      you never know youtube is reading every bit of your online presence

    • @katsuru
      @katsuru 4 года назад

      me rn

    • @mosheleland5104
      @mosheleland5104 3 года назад

      i know Im randomly asking but does anyone know a trick to log back into an instagram account??
      I was dumb lost the password. I love any help you can give me.

  • @vvzen
    @vvzen 3 года назад +17

    Anaconda/miniconda can actually handle the python version too, it’s kinda the main goal. It’s a bit sad that he missed that point. Also conda is meant as a way to handle lower level libraries too, like c++ dependencies, not just pure python packages.

    • @roshunepp
      @roshunepp 3 года назад +1

      Should my python update via anaconda take 3 days? I feel stuck. I also feel like "it will finish tonight" every night lol.

    • @vvzen
      @vvzen 3 года назад

      @@roshunepp what do you mean exactly? what command are you running and on which OS? on which version of anaconda? Have you tried miniconda? 😀

  • @amdenis
    @amdenis 4 года назад +5

    You can, and too often will, get difficult to unravel conflicts when using two alternative pacman environments such as pyenv along with conda. The problem is that there are significant discrepancies between their dependencies/conflicts look-up tables. Also, the complexity of interactions when adding pipelining (e.g. Kubeflow, Airflow, etc), can become even more problematic, since a lot less real life usage testing generally occurs across those two, verses even bare in-environment pip usage (i.e. no assumptions made via a limited number of testers, which would be the case with pyenv competing with Conda/AC).

  • @stevequan7306
    @stevequan7306 4 года назад +5

    Thank you for sharing! Anaconda is kinda "too well packaged/organized", I uninstalled is but only keeping miniconda then combining with venv.

  • @jorgeastiazaran
    @jorgeastiazaran 2 года назад +2

    Thanks for your clarification.
    I was struggling to understand the differences between them, since I was following different tutorials on ML and they use different methods to manage their Venvs.

  • @e1nste1in
    @e1nste1in 4 года назад +4

    I use anaconda for separation and pip for package management 😅

  • @rhythmsharma4561
    @rhythmsharma4561 5 лет назад +3

    best video on python package manager 👍, i use anaconda and pip

  • @meljuncortes4420
    @meljuncortes4420 6 лет назад +1

    Very good explanation and elaboration. I like this kind of demo where there is a direct elaboration of the topics unlike other video tutorial difficult to understand beside of the accent of language.

  • @Aka00710
    @Aka00710 5 лет назад +2

    I like using the jupyter docker images for data science stuff

  • @bijenderkumar2934
    @bijenderkumar2934 Год назад

    I mostly work in nodejs and sometime I have to use python which makes me confused about which package manager to choose, your explaination help me clarifying the differences between them. thanks!

  • @rohanjoshi1036
    @rohanjoshi1036 4 года назад +5

    Hey i am new to python, as you mentioned that you use pyenv sitting over both virtualenv and acnaconda can you plz show us a demo how to setup such environment and basics of using such assembly.

    • @hafidhrendyanto2690
      @hafidhrendyanto2690 2 года назад

      just try it yourself man, it's so easy!

    • @DeepakChauhan-wu7ei
      @DeepakChauhan-wu7ei 2 года назад

      For people who have same question, u can check description or check some tutorial. I myself setup my virtual environment though watching yt tutorial

  • @rudeadyet1992
    @rudeadyet1992 4 года назад

    I use pyenv and pyenv-virtualenv. A bit confusing at the beginning, but once you begin to understand, it’s like a butter.

  • @marcpanther7924
    @marcpanther7924 3 года назад +4

    Is `virtualenv` still useful given that `venv` is now part of Python 3?

  • @GregoryYepes
    @GregoryYepes 5 лет назад +2

    Fantastic video and super useful. Thanks for sharing!

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

    Thank you!
    It was so easy to understand and I could share with my teammates.
    Could you please post a video explaining maven and how use it to manage and compile Java for DataFlow and Apache Beam?

  • @munnabhaimbbf123
    @munnabhaimbbf123 4 года назад

    Thank you for the description!

  • @roshunepp
    @roshunepp 3 года назад +2

    I've been struggling with my anaconda env. Trying to update my python version to 3.9.6 but it's been running for 3 days dealing with conflicts. It's partially my fault for wanting the latest in conda navigator and not leaving well enough alone with 3.9.4.

  • @NamasenITN
    @NamasenITN Год назад +1

    Why would distinct libraries interfere with each other, when not used (I.e. imported) or even when used? That's a premise that Python's ecosystem might be messy. Please explain me where I am wrong with my reasoning.

  • @lakshminarasimmanv
    @lakshminarasimmanv 4 года назад +1

    I’ve been using both. Without knowing both are different.

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

    thank you, TechLead

  • @josedasilva585
    @josedasilva585 5 лет назад +4

    I'm going to study and learn step by step, but I'll get it.

  • @AndrewStorey
    @AndrewStorey 6 лет назад +8

    Great video. What are your thoughts on using Docker for this?

  • @matejjukic5776
    @matejjukic5776 2 года назад +1

    Do you know how to resolve conflict between packages? I need 2 different versions of the same package for my code to work but pip deinstalls the older and installs only the newer.

  • @kwameakuffo9611
    @kwameakuffo9611 4 года назад

    i use pyenv, and virtualenv for the control and security it offers projects. Collaborative dev env requires packages to be synchronised, and secure.

  • @Shoey
    @Shoey 6 лет назад +12

    Pipenv is great for 2018.

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

    Thank you!

  • @autogecko318
    @autogecko318 4 года назад

    simple and clear explanation. thanks.

  • @alexanders8341
    @alexanders8341 2 года назад +2

    It's probably worth mentioning that pyenv does not work on Windows.

  • @rahulsriram6295
    @rahulsriram6295 4 года назад

    Great video, chose to use pipenv :D

  • @amburghermozzarella7506
    @amburghermozzarella7506 5 лет назад +1

    thank you for the video!
    how can I install a python library that I created and use it in anaconda? I need it to create power bi scripts

  • @dryogeshbhirud
    @dryogeshbhirud 4 года назад

    awesome presentation with great video editing. which software did u use to edit the video?

  • @rezamirkhani4747
    @rezamirkhani4747 6 лет назад

    I use miniconda but I'll give pyenv a go to see what it can do

  • @DatascienceConcepts
    @DatascienceConcepts 4 года назад +1

    Awesome information! How come I never saw this before :)

  • @MarcMcRae
    @MarcMcRae 2 года назад

    Wish some "teachers" offering their courses at places like YT, Udemy, etc. would explain this stuff properly before diving in and assuming! Cos the Python tooling ecosystem IS painful..!! Assuming we , the "self taught" all know how to NOT mess up our base machine is all too common. After MUCH searching this is one of the simplest (Keep It Simple S*****) explanations to help "production-ise" your base system. Thank you!

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 5 лет назад +2

    Is there a great tutorial for pyenv?

  • @AnirudhGargi
    @AnirudhGargi 6 лет назад +1

    Never knew of pyenv

  • @eladlevy9494
    @eladlevy9494 2 года назад

    Im considering poetry for my next project, what do you guys think?

  • @jhoningsoft
    @jhoningsoft 5 лет назад +1

    great and concise video!

  • @MsKante
    @MsKante 6 лет назад +1

    What about pipenv?

  • @jitrammaharjan9506
    @jitrammaharjan9506 2 года назад

    Great video

  • @sheldonlee7731
    @sheldonlee7731 Год назад

    I wil use both

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

    I still don't get qhy anaconda exists. Is the only reason for it that it comes with pandas and other DS packages built-in?
    So removing this one command ia the reason: 😅 pip install pandas matplotlib numpy jupyter

  • @RC-bl2pm
    @RC-bl2pm 5 лет назад +1

    what about venv? Where does it fit in?

    • @petros-estin-petra-
      @petros-estin-petra- 4 года назад

      pretty much the same as virtualenv, but comes with python preinstalled

  • @vedx
    @vedx 6 лет назад +1

    Tell about Auto ML.

  • @zielin32
    @zielin32 Год назад +1

    0:35 - I see what you did there

  • @dumidupramith3881
    @dumidupramith3881 3 года назад

    super introduction

  • @VojtechKane
    @VojtechKane 6 лет назад +24

    This is a great video showing why I am not using python ;-)

    • @Kathypeer
      @Kathypeer 6 лет назад +8

      Python has the most comprehensive libraries when it comes to data science. Is far from being perfect, but no language gets anywhere close to Python in this area.

    • @eaglet3d
      @eaglet3d 6 лет назад +2

      It's too bad pip v10 has broken the installation of many packages. This is only going to create a higher cost of entry for new Python users. You will have less pain by not following pip's recommendation of upgrading to pip v10.

    • @dave47663
      @dave47663 5 лет назад +2

      lol, good. More jobs for us. Cheers

  • @example.com.
    @example.com. 6 лет назад +3

    Miniconda is awesome

    • @DURGESH-gy8hb
      @DURGESH-gy8hb 5 лет назад

      what difference to anaconda

    • @bunny_the_lifeguard9789
      @bunny_the_lifeguard9789 5 лет назад +1

      @@DURGESH-gy8hb Anaconda comes with 3GB of packages preinstalled, Miniconda only with the necessary ones and let's you decide whether/when to install additional packages.

  • @ThunderBow98
    @ThunderBow98 6 лет назад +2

    why not just use both?

  • @ego_sum_liberi
    @ego_sum_liberi 5 лет назад +1

    Docker it's the way to go with me. But, if not miniconda it is........⚙🥳🙋‍♂️😉💡🍻

  • @triplept1633
    @triplept1633 5 лет назад

    About two years later, people are gravitating towards `venv`.

  • @nardu
    @nardu 3 года назад

    Please recommend a resource that explains how to back track out of a spider's web?

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

    Python programmers "Learn Python, it's incredibly intuitive and easy to pick up!"
    Also Python programmers: "Check out this dependency spaghetti! 🍝 It's SUPER easy, just use 3 SEPARATE TOOLS to manage it all!"
    On a serious note - I sort of threw in the towel and went all conda. It's not the best solution, but it's (partially) compatible with pip, and I can fake the functionality of pyenv by simply creating new envs with a different version of Python. 👍

  • @croninsiglos9855
    @croninsiglos9855 6 лет назад +1

    Pyenv is unfortunately not a mature project, it doesn't allow environment location customization, and it doesn't work properly in multiuser environments such as HPC clusters, etc when sharing projects on a shared filesystem. Perhaps it's cool for personal projects, but doesn't belong in the scientific computing realm.

  • @Arville27
    @Arville27 2 года назад +1

    Poetry FTW

  • @sunildhaka4528
    @sunildhaka4528 6 лет назад

    awesome great

  • @not_a_human_being
    @not_a_human_being 6 лет назад

    always spaces..

  • @billhab1
    @billhab1 3 года назад

    i prefer pipenv ...

  • @linsonkurian
    @linsonkurian 6 лет назад

    👍

  • @yournadanvlog
    @yournadanvlog 6 лет назад +4

    anaconda ✌

  • @Funny9689
    @Funny9689 6 лет назад +1

    anaconda for da win

  • @alice_in_wonderland42
    @alice_in_wonderland42 2 года назад

    Poetry with tox

  • @Funny9689
    @Funny9689 6 лет назад

    anacondas are dope

  • @griesrt
    @griesrt 5 лет назад

    TABS!!!!!!

  • @deeplearningpartnership
    @deeplearningpartnership 6 лет назад

    conda

  • @feuerundwasser282
    @feuerundwasser282 5 лет назад +1

    I use linux. ;-)

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    M

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    K

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    G

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    J

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    H

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    F

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    L

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    C

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    D

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    E

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    A

  • @jamilahsakim8817
    @jamilahsakim8817 6 лет назад

    B