M2 Mac python installation the right way

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.ค. 2023
  • Install python and manage multiple python environments like a pro.
    Code snippets to copy/paste:
    github.com/DanilZherebtsov/py...
    #python #pyenv #virtualenv #virtualenvironment #coding #macOS #m2macbookair #m2macbookpro

ความคิดเห็น • 25

  • @giftibe5268
    @giftibe5268 16 วันที่ผ่านมา

    loved how you touched on other aspects. well rounded

    • @lifecrunch
      @lifecrunch  16 วันที่ผ่านมา

      Thanks!

  • @garytouet
    @garytouet 6 หลายเดือนก่อน

    Big thumbs up, really liked the pace and clarity! Thanks!

    • @lifecrunch
      @lifecrunch  6 หลายเดือนก่อน

      Glad it was helpful!

  • @giovanaferryville
    @giovanaferryville 5 หลายเดือนก่อน

    Thank you for this valuable video!!!

    • @lifecrunch
      @lifecrunch  5 หลายเดือนก่อน

      Glad it was helpful!

  • @knakajim3282
    @knakajim3282 2 หลายเดือนก่อน

    Thanks for the video, but I don't know which last video you're referring to or which this builds upon...

    • @lifecrunch
      @lifecrunch  2 หลายเดือนก่อน

      It’s this one: th-cam.com/video/yVZg547GiYg/w-d-xo.htmlsi=m22U5QUV1sBNOGGD

  • @evansdoe
    @evansdoe 9 หลายเดือนก่อน

    Thanks for the video. Any reason why you do not use poetry?

    • @lifecrunch
      @lifecrunch  9 หลายเดือนก่อน

      I switched from venv to pyenv about a year ago and never looked back. I guess it was the first alternative that caught my attention and I never really considered poetry. Any advantages that you can point out?

  • @thibaultoffroad
    @thibaultoffroad 3 หลายเดือนก่อน

    Great video. Where did you find the zshrc config?

    • @lifecrunch
      @lifecrunch  3 หลายเดือนก่อน

      it's in your home directory: Macintosh HD/Users/

  • @Arthurjshurley
    @Arthurjshurley 11 หลายเดือนก่อน

    What version comes with new MacBooks? 3.11?

    • @lifecrunch
      @lifecrunch  11 หลายเดือนก่อน

      mine (2023) came with 3.10.12

  • @nikitazhuchkov9815
    @nikitazhuchkov9815 2 หลายเดือนก่อน

    Danil, could you please explain commands entered to .zshrc?

    • @lifecrunch
      @lifecrunch  2 หลายเดือนก่อน

      “export” command sets the environment variable on the left side of the assignment to the value on the right side. That means that for example
      export PYENV_ROOT=“$HOME/.pyenv”
      creates the PYENV_ROOT variable in the CLI environment each time the terminal is launched. This variable points to the location of where pyenv is installed which is in your home directory under the hidden subdirectory (.pyenv).
      This allows pyenv, when called from the command line, to find all your python environments configurations when you are using any of the pyenv commands.

  • @QuickTipsTV-hk8xt
    @QuickTipsTV-hk8xt หลายเดือนก่อน

    If People like yourself would teach, world would be a much better place! Have you considered creating courses?

    • @lifecrunch
      @lifecrunch  หลายเดือนก่อน

      Thanks. I have. Hope to make time for a course some day)

  • @yolomc2
    @yolomc2 4 หลายเดือนก่อน +1

    1:09 "readline" instead "deadline"........ "zlib" instead "lib" y'all !! 😁

    • @lifecrunch
      @lifecrunch  4 หลายเดือนก่อน +1

      Good catch 😁

  • @rajsala3026
    @rajsala3026 ปีที่แล้ว

    I like Matplotlib - because it's visualize visualize visualize

    • @lifecrunch
      @lifecrunch  ปีที่แล้ว +1

      Matplotlib is the king. Have you tried plotly to make your graphs interactive?

    • @rajsala3026
      @rajsala3026 ปีที่แล้ว +1

      @@lifecrunch yes, always I can do. And also I try another libraries

  • @adamsalehbenkhalifa
    @adamsalehbenkhalifa ปีที่แล้ว +1

    It's Matplotlib for me!!

    • @lifecrunch
      @lifecrunch  ปีที่แล้ว +1

      Matplotlib in combination with Seaborn makes it so much better