Skip to content

pip install error #27

Description

@sdnian

I try to install mstranslator via pip command.. I got the below error message..

C:\ProgramData\Anaconda3\Scripts>pip install mstranslator
Collecting mstranslator
Downloading mstranslator-0.3.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Steven\AppData\Local\Temp\pip-build-j5jstllz\mstranslator\s
etup.py", line 12, in
long_description=open('README.rst').read() + '\n\n' +
UnicodeDecodeError: 'cp950' codec can't decode byte 0xd0 in position 1674: i
llegal multibyte sequence

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\Steven\A
ppData\Local\Temp\pip-build-j5jstllz\mstranslator\

I downloaded the source, extract it. then modified the code in setup.py:

long_description=open('README.rst', encoding="utf-8").read() + '\n\n' +
open('HISTORY.rst', encoding="utf-8").read(),

Then run pip install . It work. So could you fix it for next time install? Thank you.

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