simpa icon indicating copy to clipboard operation
simpa copied to clipboard

Trouble during installation (UnicodeDecodeError)

Open cwsbest opened this issue 2 years ago • 1 comments

Describe the bug I am trying to install SIMPA in my work PC (Windows 10), and the installation fails with the message saying: "UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 4599: illegal multibyte sequence" I searched on the Google and probably it could be because I am using Korean in my PC and the encoding is not compatible. I tried running "chcp 65001" in the command prompt before installation, but it didn't help any.

Looking at the error messages, I found the error appears when executing something related to 'kwargs'. I downloaded the SIMPA pip package and found "kwargs" in the setup.py file. Not sure but maybe there's something in "setup_kwargs" that should be encoded in UTF-8?

Specify a priority (low, medium, high) Medium

To Reproduce Steps to reproduce the behavior:

  1. Run command prompt and change directory to simpa folder
  2. Run "chcp 65001"
  3. Run "py -m pip install simpa"
  4. See error

Current Behavior

Expected behavior

Screenshots image image

Environment (please complete the following information):

  • OS: Windows 10
  • SIMPA version: newest
  • IDE: Spyder

Additional context Add any other context about the problem here, e.g. possible solution(s).

cwsbest avatar Jul 31 '23 08:07 cwsbest

Thanks for reporting this and for using the new issue template! :)

In one of your screenshots, it says that you use the simpa version 0.8.11 which is an older version. The current version is 0.8.17. Also, we have moved from using setup.py as installation configuration file to pyproject.toml. Maybe you can try it with the newest version?

But I suspect the error will be similar as I think you're right about the encoding being incompatible with Korean symbols.

kdreher avatar Jul 31 '23 09:07 kdreher