Unresolved import 'anvil.server'

my python version is 3.9.1 and i am using microsoft visual studio yes, i have both 3.9 and 3.7 IDLE and anvil.server import has errors on both