OK, looks the same output to me. here it is:
amandaperry@Amandas-MBP people % curl https://www.python.org/ftp/python/3.9.13/python-3.9.13-macos11.pkg --output p3.9.pkg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
100 37.0M  100 37.0M    0     0  26.9M      0  0:00:01  0:00:01 --:--:-- 27.0M
amandaperry@Amandas-MBP people % sudo installer -pkg p3.9.pkg -target /
Password:
installer: Package name is Python
installer: Upgrading at base path /
installer: The upgrade was successful.
amandaperry@Amandas-MBP people % python3 -m pip install depthai
Requirement already satisfied: depthai in /Users/amandaperry/.pyenv/versions/3.7.16/lib/python3.7/site-packages (2.21.2.0)
WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available.
You should consider upgrading via the '/Users/amandaperry/.pyenv/versions/3.7.16/bin/python3 -m pip install --upgrade pip' command.