Skip to content

Installation Issues (cp949 codec ?) #122

Open

Description

@rack570

Title: Installation Issues

I'm encountering an error during installation and it's not proceeding. Do you have any insights on this?

(myev) C:\Windows\System32>pip install adapt
Collecting adapt
Using cached adapt-0.4.4.tar.gz (100 kB)
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 "", line 2, in
File "", line 34, in
File "C:\Users\정민영\AppData\Local\Temp\pip-install-m1mjiioh\adapt_8d533c069ae44da4a937ba611a3f955a\setup.py", line 5, in
long_description = (this_directory / "README.md").read_text()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\zzanaconda\envs\myev\Lib\pathlib.py", line 1059, in read_text
return f.read()
^^^^^^^^
UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 12927: 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.

Activity

  1. antoinedemathelin commented on Feb 22, 2024

    @antoinedemathelin
    Collaborator

    Hi @rack570,
    Can you please tell me which version of python you are using ?

  2. antoinedemathelin commented on Feb 22, 2024

    @antoinedemathelin
    Collaborator

    It seems that the bug comes from the setup.py file when reading the README with pathlib.
    I tried to fix that. Can you please try:

    pip install git+https://github.com/antoinedemathelin/adapt.git

    and tell me if you still run into a bug ?

  3. rack570 commented on Feb 23, 2024

    @rack570
    Author

    Oh just executed the command you gave me and it's finally downloaded. Thank you for your quick reply. :) I'll use it well.

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