Brython import from subdirectory

I have a subdirectory “imports” containing two files

imports
   __init__.py 
    nodestuff.py

this line
from imports.nodestuff import getNode, getEdges, options

works when I serve locally (via python -m http.server 8000)

but it doesnt’ work when I serve from jonschull.github.io
see https://jonschull.github.io/index%20w%20interactions%20editable.html


Traceback (most recent call last):
  File https://jonschull.github.io/index%20w%20interactions%20editable.html/__main__ line 21, in 
    from imports.nodeStuff import getNodes, getEdges, options
ModuleNotFoundError: imports

I gather this has something to do with baseurl, but I can’t figure it out.

Thanks for any help

I have this same problem too! Did you get this problem fixed?

No I’m developing locally at the moment Would love a solution