Skip to content

UnicodeDecodeError: 'charmap' #21

Description

@4F2E4A2E

Hi there, thanks for this repo! It's a pain with pip to initialize a fresh project.
Currently, an error is being thrown with py36 / py37, here is the stack trace:

$ pip install pip-init
Collecting pip-init
  Using cached https://files.pythonhosted.org/packages/b9/67/102421281006ed3cb6b1f622e4b1f2b69d3353860047303984bc0037ee77/pip-init-0.3.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\john\AppData\Local\Temp\pip-install-ukan3eda\pip-init\setup.py", line 17, in <module>
        long_description=(read('README.rst')),
      File "C:\Users\john\AppData\Local\Temp\pip-install-ukan3eda\pip-init\setup.py", line 11, in read
        return filename.read()
      File "c:\users\john\appdata\local\conda\conda\envs\py36\lib\encodings\cp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 1509: character maps to <undefined>

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\john\AppData\Local\Temp\pip-install-ukan3eda\pip-init\

https://stackoverflow.com/questions/9233027/unicodedecodeerror-charmap-codec-cant-decode-byte-x-in-position-y-character

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