How to Install Python on Mac (Homebrew)

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

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

  • @xhasimaphukatha6230
    @xhasimaphukatha6230 6 месяцев назад +1

    Straight to the point and helpful. Thank you.

  • @user-qo1vt5xl3y
    @user-qo1vt5xl3y Год назад +2

    Hey Dave, great video! But I got a question about the difference between python and python3. I followed your video and installed python with "brew install python". Then when I type "which python", it gives me "python not found". While "which python3" is ok "/opt/homebrew/bin/python3". It's because I noticed many other commands goes like "python ...", I wonder what's difference between python and python3 and if I can change "python3" to "python".

  • @minahosseini7909
    @minahosseini7909 Год назад +2

    Thank you, very clear and straightforward 👍🏼

  • @jobbjabb4815
    @jobbjabb4815 21 час назад

    Thank you for the video. I have some question about the python package, How can I install python package such as "pandas" when I have install Python by using Homebrew?

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

    Helpful video!!! Thanks mate.

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

    Thanks this was very helpful. You had mentioned virtual environments, do you have a video of this you can link on how to create a virtual environment to use with Python. Thanks!

  • @demodrift8605
    @demodrift8605 4 месяца назад

    Liked a lot your method!
    And how to install packages as SELENIUM with pip when you install Python with homebrew?

  • @TheReal_Indian
    @TheReal_Indian 4 месяца назад

    pyDOE2 is not available, What should I do?

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

    hey its telling me "Warning: No available formula with the name "python". It was migrated from homebrew/cask to homebrew/core." not sure what that means can you help me out?

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

      Have you tried running "brew install python@3.9"?

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

      @@daveebbelaar i just tried it worked now thank you

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

    Great video.

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

    Great videos 👍

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

    very helpful

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

    done everythin. How do I run python after the installation? I see no app-icon

    • @daveebbelaar
      @daveebbelaar  Год назад +2

      You can run Python via the terminal or via an IDE like VS Code. Python has no app icon like other apps that you normally install in your Mac. You must use Python via another app. You can search for something like "running python in vs code" on RUclips.

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

    can i download again ? i download python b4 i downloaded homebrew.. from beginner of MaC…

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

      Yea no problem. You should be able to uninstall Python from the applications folder. Then you can proceed to install Python with Homebrew.

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

    Great video, how to set up env?

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

      Thanks! I don't have a video on how to set up an environment yet but there are other good videos on RUclips showing you how to do this.

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

    love u bro

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

    It looks like I have both Python 3.8 and 3.10 installed and homebrew is giving me this warning:
    Warning: "config" scripts exist outside your system or Homebrew directories.
    `./configure` scripts often look for *-config scripts to determine if
    software packages are installed, and which additional flags to use when
    compiling and linking.
    Having additional scripts in your path can confuse software installed via
    Homebrew if the config script overrides a system or Homebrew-provided
    script of the same name. We found the following "config" scripts:
    /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10-config
    /Library/Frameworks/Python.framework/Versions/3.10/bin/python3-config
    What does that mean? In addition, if I ask the terminal which version I am using it says 3.10, while if I ask MU it tells me that the default version is 3.8

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

      Ahh not too sure about this one. The warnings you get are probably referring to previous installations of Python, and you might have to remove them. If you run "which python3", is the version 3.10 referring to the Homebrew installation (i.e. is /homebrew/ in the path?)

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

      @@daveebbelaar yes, I see python 3.10 installed. I just worried I broke the python 3.8 coming with MacOS

  • @mrGAMER-tw9xu
    @mrGAMER-tw9xu Год назад +1

    zo jongen ik hoor zo erg je Nederlandse accent

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

      Valt best mee

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

    pleeeease mono your mic, it's crazy with headphones on right because you're recording in stereo with a field recorder lmao

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

      Sorry about that. I am new to recording voice-overs like this :p

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

      @@daveebbelaar No worries man. Really nice and clear video overall btw!

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

      @@daveebbelaar brew install ffmpeg
      ffmpeg -i input_video.mp4 -ac 1 output_video_mono.mp4

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

    Good job will you speak little slow next time

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

    This is what i get when installing Python
    Last login: Mon Jun 13 14:31:29 on ttys000
    Victors-MBP:~ victoroshimua$ brew install python
    Warning: No available formula with the name "ca-certificates".
    ==> Searching for similarly named formulae...
    Error: No similarly named formulae found.
    ==> Searching for a previously deleted formula (in the last month)...
    Error: No previously deleted formula found.
    ==> Searching taps on GitHub...
    Running `brew update --auto-update`...
    Error: No formulae found in taps.
    Warning: No available formula with the name "python".
    ==> Searching for similarly named formulae...
    Error: No similarly named formulae found.
    It was migrated from homebrew/cask to homebrew/core.
    Victors-MBP:~ victoroshimua$

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

      Hi Victor, please try to run: `brew doctor` and follow the recommendations.

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

      @@daveebbelaar thanks mate, brew doctor told me to tap homebrew core with some code, which i did and i have successfully installed Python ❤❤ Once again THANK YOU

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

      @@victorkingoshimua6623 Your welcome. Glad it worked ;)