Illegal instruction (core dumped)

I don’t know if it is related or not, but I saw in some other comment somewhere (I don’t remember where, but I think it was not on the NVIDIA forums) that this can sometimes happen when using pip or pip3 when the required is the reverse (pip3 needed instead of pip, or pip needed when pip3 is needed). No idea if that is true or not, but it is something you could test.