Installing imageAI library via pip on python

It appears that gfortran package was still installed, and the other error is unrelated. You may want to open a new topic about the nvidia-l4t-bootloader problem or search for related threads like this:

I believe one solution to that is to re-flash your device with the latest JetPack.