Skip to content
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

Installation Issues (cp949 codec ?) #122

Open
rack570 opened this issue Feb 22, 2024 · 3 comments
Open

Installation Issues (cp949 codec ?) #122

rack570 opened this issue Feb 22, 2024 · 3 comments

Comments

@rack570
Copy link

rack570 commented Feb 22, 2024

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.

@antoinedemathelin
Copy link
Collaborator

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

@antoinedemathelin
Copy link
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 ?

@rack570
Copy link
Author

rack570 commented Feb 23, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants