FYI: this is NOT a duplicate!
Before running my python code I installed biopython in the cmd prompt:
pip install biopython
I then
I had the same error. it turns out
import Bio
works
instead of import biopython !