Venv -ModuleNotFoundError: No module named 'automationhat'

I get error = ModuleNotFoundError: No module named ‘automationhat’ when running code within a vnenv set up for flask. Code works outside of venv

When I install Automationhat into venv I get an already installed error.

I looked at similar post which suggest removing “no-global-site-packages.txt” from the venv however this file does not exist in the venv/lib/python3.9/site-packages dir.

Any suggestion or debugging steps please.