python 3 报错 OSError: [Errno 22] Invalid argument:

错误代码:
os.path.join 后的路径
word_embedding_2017-06-25-23:36:57.vec

改正:

word_embedding_2017-06-25-23_36_57.vec

原因是Windows中在python新建文件是不支持时间为:的格式

你可能感兴趣的:(python 3 报错 OSError: [Errno 22] Invalid argument:)