ModuleNotFoundError: No module named ‘_thread’

Could you be a little bit more specific?

See details here for how to ask a good question:

How to ask a good question

Which line is throwing the error you’re seeing?

I can’t see that it would be anvil extras, but without more details I can’t say for sure.