ebsco / ebscopy

The official Python wrapper for the EBSCO Discovery Service API
GNU General Public License v3.0
15 stars 5 forks source link

Update README.md #13

Closed air-kyi closed 1 year ago

air-kyi commented 1 year ago

Encoding compatibility for people who are trying to install this package using pip from Windows:)

air-kyi commented 1 year ago
(sdoh) C:\Users\kyi>pip install ebscopy
Collecting ebscopy
  Using cached ebscopy-0.1.21.tar.gz (40 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\kyi\AppData\Local\Temp\pip-install-xahmu1ds\ebscopy_70573cfdf3994b60b1cdc59af68eed60\setup.py", line 6, in <module>
          ld_md                                           = open('README.md').read()
        File "C:\Users\kyi\AppData\Local\anaconda3\envs\sdoh\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 0x90 in position 51: 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.