一、问题起源: python -m tcnn.train时,sys.path[0]的值为空; 解决方案: cur_py_dir = os.path.split(os.path.realpath(__file__))[0]