1. Installing Python (Mac)

Method 1: Using homebrew

  1. Open Terminal: You can open it by searching "Terminal" in Spotlight (press Cmd + Space and type "Terminal").

  2. Install Homebrew: To install Homebrew, copy and paste the following command into your Terminal and press Enter:

    /bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"
    

    Follow the on-screen instructions to complete the installation.

    <aside> <img src="/icons/new-alert_blue.svg" alt="/icons/new-alert_blue.svg" width="40px" /> Homebrew webpage for reference: https://brew.sh/

    </aside>

  3. Install Python 3: After Homebrew is installed, you can install Python 3 by running:

    brew install python3
    
    
  4. Verify Installation: Once installation is complete, you can verify that Python 3 has been installed by running:

    python3 --version
    
    

    This should display the installed Python version.

Method 2: Downloading from Python's Official Website

  1. Go to Python's Official Website: Navigate to Python's download page.

  2. Download Python 3 Installer: Select the most recent version of Python 3 and download the installer package.

  3. Run the Installer: Locate the downloaded package (usually in your Downloads folder) and run it. Follow the on-screen instructions to install Python 3.

  4. Verify Installation: Open Terminal (as described in Method 1) and copy/paste:

    python3 --version
    

    This should display the installed Python version.

2. Installing Archicad Python Module

  1. Verify if you have PIP installed by pasting the following into your terminal:

    pip --version
    

    If the terminal returns the following: -bash: pip: command not found you need to install pip first, if it returns a version number then you can skip the next step and proceed to installing the Archicad Module.

  2. To Install PIP:

    1. Open Terminal and copy paste the following code and press enter.

      curl <https://bootstrap.pypa.io/get-pip.py> -o get-pip.py
      

      Copy/paste the following into terminal and press enter:

      python3 get-pip.py
      
    2. Verify that PIP was installed by following the first step

      curl <https://bootstrap.pypa.io/get-pip.py> -o get-pip.py
      
      pip --version
      
      python3 get-pip.py
      
  3. Installing the Archicad Python Module:

    1. Open Terminal and copy paste the following code and press enter.

      pip install archicad
      

3. Installing Visual Studio Code

  1. Install Visual Studio Code for editing your scripts: https://code.visualstudio.com/

  2. Install Visual Studio Code Extensions: (paste the items below into the Extension tab of VSC)

    ms-python.python
    
    Willumz.generic-pseudocode