Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Fix] Fix install encoding problem #768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

HydrogenSulfate
Copy link
Collaborator

PR types

Bug fixes

PR changes

Others

Describe

  1. pip 安装时调用 setup.py 中的 get_readme 函数读取文档内容,在windows机器上有概率触发gbk相关报错,因此指定读取编码为utf-8防止报错

Copy link

paddle-bot bot commented Jan 22, 2024

Thanks for your contribution!

@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Jan 22, 2024
@PaddlePaddle PaddlePaddle unlocked this conversation Jan 22, 2024
Copy link
Collaborator

@zhiminzhang0830 zhiminzhang0830 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhiminzhang0830 zhiminzhang0830 merged commit df1092e into PaddlePaddle:develop Jan 22, 2024
@HydrogenSulfate HydrogenSulfate deleted the fix_install2 branch January 28, 2024 08:44
huohuohuohuohuo123 pushed a commit to huohuohuohuohuo123/PaddleScience that referenced this pull request Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants