DIR = os.path.dirname(__file__) sys.path.insert(0, os.path.abspath( os.path.join(DIR, '_extensions'))) # autodoc sys.path.insert(0, os.path.abspath(os.path.join(DIR, '..')))
待验证
python 环境变量设置
原文:https://www.cnblogs.com/qianxunman/p/12172170.html