2021 Mac OSX Set up: Brew, Python3, pipenv, Pycharm

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • My first video!
    In this video you will see how to set up python3 on a Mac (Big Sur 11.2.3). More specifically, here is what you will see:
    1. Installing the Xcode command line tools (for working with terminal)
    2. Installing brew (a software management system)
    3. Editing the PATH variable (so the computer knows where to find software)
    4. Installing ptyhon3.9+ (this allows us to not work with default mac-python)
    5. Installing pipenv (for creating safe isolated project environments)
    6. Installing Pycharm-ce (an advanced IDE for working on coding projects)
    Here are some reference links I used in making this video:
    - Article for setting up python on Mac: docs.python-gu...
    - Brew home page: brew.sh/
    - Article for installing pipenv: docs.python-gu...
    - Pycharm home page (about): www.jetbrains....
    Information about Cart's Coding Club:
    If you want to learn programming in new and collaborative way Cart's Coding Club is right for you. At C3, we focus on helping you achieve your learning goals by tailoring the experience to what you need. Through 1-on-1 guidance sessions, real world challenges, group project work, and real resources for the 21st century, you will will embark on a journey unlike anything you have experienced before! If you want to learn more about Cart's Coding Club, feel free to fill out this simple application and we will get in touch: docs.google.co...

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

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

    Exactly what I needed! Great video!

  • @switches_slips_turnouts
    @switches_slips_turnouts 3 года назад +3

    please continue the series with conda install and also tensorflow gpu for mac m1

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

    How endlessly complicated! Hooray!

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

    Best explanation ever
    +1 subscriber

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

    hey this really helped my out. Just started using mac. Thanks!

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

    Thank you 🙏🏾

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

    Saved my day. Thank you!

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

    I've never understood why Xcode is needed when you can install Python 3 from the Terminal. Or download it directly. Or through another package manager, like Anaconda. Can you explain what Xcode is, and how that install process is different from the others mentioned?

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

    I got this: 'command not found: brew' until following your video at 7:05

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

      You have to install brew on your mac from the terminal. Here is a link to the website: brew.sh/
      At the top of the page, there is a command, copy it and paste it into the terminal.

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

    Does this work to resolve the ‘x86_x64’ and ‘arm64e’ error while running some programs like R or NLTK?

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

    Thank you!!! EXPLAINED SO CLEARLY! SUBSCRIBING

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

    when you explain about pyenv why don't you download brew install pyenv? is not available? i stop there. Not available thru BREW?

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

    Does the export PATH change for Ventura on a M1 MBP?

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

    Great, very helpful

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

    is rly needed to download command line tool before brew or can just dowload brew with out commands line tool

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

    Can you set up with m1,m2?

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

    i get PIPENV NOT FOUND when I write which pipenv
    cany you help me please

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

      Hi, have you changed the PATH variable and updated (restarted) your terminal?

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

    Hey so I am on a M1 Air and whenever I install python3 with brew and search which python it shows me the directory of homebrew and not the /usr/bin. Any advice?

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

      Yep,I'm using M1 Pro and I just have a issue like you

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

      Sorry for the late reply. Let’s think about this. Homebrew is a package manager. All it does is help you install extra software tools to make your life a bit easier.
      If from the terminal you go to the homebrew directory and type “ls -la” you should see that the packages ‘point’ (sim-link) to usr/bin. More specifically, the files that output should have little “->” then another directory.
      So if I am correct (not sure if I am) then your python 3 is actually pointing to usr/bin. This would mean you are in the clear and when you choose the python to use in your IDE, you can just make sure to choose the one in the Homebrew directory!
      Hope this helps

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

    hey, python on mac os is python2 by default even after installing python3, do u know any fixes?

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

      Correct. Python2 is the default because it is used in some behind the scene processes on the mac. You will want to pay attention to the PATH. THe PATH tells the computer where to look to find the python version you want (ie. usr/local/bin/python3/)

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

    didn't work for me pls help

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

      Be more specific. What part are you having trouble with?

    • @Anna-kr5gn
      @Anna-kr5gn 2 года назад

      Not install home brew in terminal plz helo me