Skip to content

SyntaxError: Non-ASCII character '\xe6' in file processon.py on line 79, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details #3

@yyy2015

Description

@yyy2015

有个小小的问题,直接运行python脚本报SyntaxError: Non-ASCII character '\xe6' in file processon.py on line 79, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details错误,因为源码中有中文所以需要在脚本的第一行加

# -*- coding: UTF-8 -*- 

还有pip需要多装一个依赖

 pip install futures

其实主要想来向作者表示感谢,亲测好用,非常感谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions