8000 fix: pip install encoding error by tdiekel · Pull Request #2 · chrieke/prettymapp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: pip install encoding error #2

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 2 commits into from
Jul 11, 2022
Merged

fix: pip install encoding error #2

merged 2 commits into from
Jul 11, 2022

Conversation

tdiekel
Copy link
Contributor
@tdiekel tdiekel commented Jul 7, 2022

Hey, first off nice app :) but I got an encoding error installing it via pip.

(venv) C:\Users\td\Desktop\prettymapp>pip install git+https://github.com/chrieke/prettymapp.git
Collecting git+https://github.com/chrieke/prettymapp.git
  Cloning https://github.com/chrieke/prettymapp.git to c:\users\td\appdata\local\temp\pip-req-build-nc4pk_ft
  Running command git clone --filter=blob:none --quiet https://github.com/chrieke/prettymapp.git 'C:\Users\td\AppData\Local\Temp\pip-req-build-nc4pk_ft'
  Resolved https://github.com/chrieke/prettymapp.git to commit 34b75b5adce0a10a064344fbc2da449dfdcf29a3
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\td\AppData\Local\Temp\pip-req-build-nc4pk_ft\setup.py", line 12, in <module>
          long_description=parent_dir.joinpath("README.md").read_text(),
        File "C:\Program Files\Python39\lib\pathlib.py", line 1267, in read_text
          return f.read()
        File "C:\Program Files\Python39\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 0x8f in position 19: character maps to <undefined>
      [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.

@chrieke chrieke merged commit e06a428 into chrieke:main Jul 11, 2022
@chrieke
Copy link
Owner
chrieke commented Jul 11, 2022

Thanks for reporting, merged. Could you check again, I couldn't recreate it on mac.

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
155B
0