Eddi wrote:it clearly says you're missing some header file. so you did not install all required libraries.
It clearly says it, but I didn't clearly understand it

we in the open source word sometimes forget that not everybody is familiar with the same things as we are. I'm reasonably technical, but I don't generally use python or need to install libraries for my coding work, so they aren't things I look out for when following instructions
The article says that
pip
If you are familiar with python and pip then you can just use
pip install nml
This will install the required dependancies.
That nml install worked first time, so I assumed that it would have installed the required dependencies. Once I got errors it became clear that this wasn't the case so I had to look into installing them separately.
I got to the bottom of it, as you can see above - but it definitely didn't work after installing pillow successfully, and did after installing pil. I don't know how/why that worked like that, I'll play around later seeing if I can reproduce it.