Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Conversation

@EstrellaXD
Copy link

Description

This PR fix the encoding error happens in non UTF-8 encoded system, while use pip to install.

Collecting combat
  Using cached combat-0.3.3.tar.gz (34 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "combat_dc55a7d6ec5545cbb41e64e9ca2f85b5\setup.py", line 4, in <module>
          long_description = fh.read()
      UnicodeDecodeError: 'gbk' codec can't decode byte 0x93 in position 1917: illegal multibyte sequence
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • No code (non-breaking change that does not impact code: formatting, build system, documentation...)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • My changes are in a separate branch named after a Jira card, or -- if not applicable -- with a descriptive name.
  • I have descriptive commit messages, with a short title (first line).
  • I have added and/or updated tests to reflect my changes.
  • I have reviewed and updated the documentation accordingly.
  • I have updated the Changelog.
  • My code and documentation follow the numpy docstring format.
  • I have reviewed possible licensing issues, preferably with a person in charge of the topic.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant