Skip to content

No module named 'splashkit' in Python error


If you haven’t installed homebrew, or homebrew’s python package, follow the steps below:

  1. Install Homebrew.

  2. Install python, using homebrew with the following command:

    Terminal window
    brew install python@3.13
  3. Add homebrew to your path using the following command:

    Terminal window
    echo "eval \"\$(/opt/homebrew/bin/brew shellenv)\"" >> ~/.zshrc
    source ~/.zshrc
  4. Verify that the terminal is using the Homebrew-installed Python version:

    Terminal window
    which python3

    The output should be something like:

    /opt/homebrew/bin/python3
  5. Run your Python code again. It should now successfully locate the SplashKit module.

After completing these steps, your terminal will use the Homebrew-installed version of Python, and your Python script should now successfully find and run the SplashKit module without encountering the ModuleNotFoundError.