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

Unable to install version 2.3 #258

Open
sothea-beniten opened this issue Aug 27, 2022 · 1 comment
Open

Unable to install version 2.3 #258

sothea-beniten opened this issue Aug 27, 2022 · 1 comment

Comments

@sothea-beniten
Copy link

I'm trying to upgrade admin-sortable from version 2.2 to 2.3 but I got an issued UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 2883: character maps to .

Here is the full log when I install latest version

Requirement already satisfied: django-admin-sortable in d:\my_code\techis\source\test upgrade\backend\env\lib\site-packages (2.2.4)
Collecting django-admin-sortable
  Using cached django-admin-sortable-2.3.tar.gz (106 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 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\Root\AppData\Local\Temp\pip-install-o20ggg3o\django-admin-sortable_dd3208e845fb48a19ad72839869c873a\setup.py", line 4, in <module>
          README = readme_file.read()
        File "C:\Users\Root\AppData\Local\Programs\Python\Python38\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 0x9d in position 2883: 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.
@LEAGUEDORA
Copy link

You can use my forked & fixed repo.
To install use git clone git+https://github.com/LEAGUEDORA/django-admin-sortable.git

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