The instructions and install script are fairly mature and typically work without issue.
If you have elected to say “no” to any of the prompts in the script, you may experience issues like the one above. If you specifically want to decline those options for any reason, take note of what they do and set your environment up manually before building AP.
Consider building with Docker or creating a new user account that is specific to building AP if you are concerned about disrupting an existing environment for other development.