Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install Visual Code Studio
  2. Install Python Extension - https://marketplace.visualstudio.com/items?itemName=ms-python.python
  3. Install a version of Python 3

    Code Block
    brew install python3


    Info

    If you face any issue while installing by brew, please run following command to get more help.

    Code Block
    brew doctor


    Once Python 3 is installed, you should run following command for your convenience

    Code Block
    brew link python

    If you face error something like below

    Code Block
    Linking /usr/local/Cellar/python/3.7.1... Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks

    You can fix it as following

    Code Block
    sudo mkdir /usr/local/Frameworks
    sudo chown $(whoami):admin /usr/local/Frameworks
    brew link python





The documentation I referenced is actually located at https://code.visualstudio.com/docs/python/tutorial-django, so you can know more if you have any additional doubt or curious.