I wasn't able to reproduce your problem with on my 64bit Windows 10 machine.
I used the following edit plugin code:
with this Section0001.xhtml file:
The output was:
BTW, you should be able to import
sigil_bs4 even if you use an external interpreter. If you disable Use Bundled Python, you should still get the following message: