Skip to content

Encoding Problem will cause download error. #1

Description

@RobinHistory

In setup.py:
def read(fname):
return open(os.path.join(os.path.dirname(file), fname),encoding="utf-8").read();
didn't make sure that the encoding is UTF-8.(I myself add the encoding="utf-8")And this will cause some gbk-users can't pip install baidusearch with command line error "exit status 1".
Anyway,thanks for your work!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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