When executing python it will look in the specified locations in sys.path in order to find your imports. If you get module not found, it's because the module you are trying to access is not located in any of the sys.path directories or its subdirectories.
So a next step of checking would be to check:
- Where is odoo14 installed?
- run your file using the below snippet and see if any of the listed directories is the source directory or the parent directory of odoo14.
import sys
print(sys.path)
If odoo14 is indeed not in any directory or subdirectory in the outputed list, you need to check the configuration of your project.
Maybe you created a project with a virtual env. and the odoo14 package is installed elsewhere?