So I started out cloning some repo, realizing I needed python, using the windows version, then realizing I should install linux the "normal" way.

I ran into a few issues when running "pip install" and whatnot.

/env/include/python3.6m -I/usr/include/x86_64-linux-gnu -c _imaging.c -o build/temp.linux-x86_64-3.6/_imaging.o
_imaging.c:76:20: fatal error: Python.h: No such file or directory


This was a problem with my python version being 3.6, but my header files were 3.5.

In /usr/include I was able to see

├── python2.7
├── python3.5m


but when I ran python --version I got 3.6.6. Hmm.

So what I ended up doing was doing the apt-get install python-dev python3.6-dev and then the python3.6 directory showed up and the links to the header files were fixed.

Huh.