Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

** Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! **

  1. Call the package outside it

  2. Add .. into sys.path.

    import sys
    sys.path.append("..")
    
    

References

beyond top level package error in relative import

How to do relative imports in Python?