Error processing check_characters.py

I want to create alphabet.txt using check_characters.py. However, error message occurs.

Traceback (most recent call last):
File “check_characters.py”, line 22, in
from .io import open_remote
ModuleNotFoundError: No module named ‘main.io’; ‘main’ is not a package

How can I solve this problem?