Hello @ashen.l
I got the same error with the numpy import. Try to use the flopscope.numpy instead.
numpy
flopscope.numpy