| 1 | I had a confusing issue when trying to install `py39-matplotlib` and its dependencies on a fresh macports install on a new machine. You can see my report below, which was written when I didn't understand the reason for the issue. |
| 2 | |
| 3 | The issue was revealed when running `sudo port install python39` - in that case I was prompted to agree to the xcode user license, and everything worked. However, I had originally tried to run `sudo port install py39-matplotlib` instead, since I knew I would want to use matplotlib and numpy as well as Python. In that case I wasn't prompted to agree to the license, and instead got a mysterious error message that told me to submit a report without revealing what the problem was. |
| 4 | |
| 5 | So the issue is about error reporting - the xcode license error should be displayed when trying to install Python as a dependency, rather than just when trying to install the Python port directly. |
| 6 | |
| 7 | --- |
| 8 | |
| 9 | Here is my original report. For the resolution see my comment below. |
| 10 | |