Skip to content
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

한글 문서(README.rst) 때문에 윈도우 설치시 에러 남니다 #2

Open
zwolf21 opened this issue Sep 24, 2019 · 0 comments
Open

Comments

@zwolf21
Copy link

zwolf21 commented Sep 24, 2019

  1. 작은 원인 때문에 윈도우에서 pip install 설치가 안됩니다.
# setup.py
long_description=read('README.rst'),

cp949 인코딩 에러 뜹니다

read 함수를 이렇게 바꾸고...

def read(file_name, **kwargs):
    with open(os.path.join(os.path.dirname(__file__), file_name), **kwargs) as f:
        return f.read()

명시적으로 utf-8 이라고 지정해 주면 좋을것 같습니다
long_description=read('README.rst', encoding='utf-8'),

  1. example_project 의 requirements.txt에 문법적 에러가 있습니다.
    = -> ==
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

No branches or pull requests

1 participant