Closed jqrzixin closed 5 years ago
Hi Gary, thanks for raising this issue. I'll give this a try on Windows and see what I get.
Gary, this doesn't happen for me with fresh Windows 10, Python 3.6, Gfortran. It may have been a bug in the old v1.5.1. I have just uploaded v1.5.2.
pip install --upgrade iri2016
or you can work directly from this repo:
git clone https://github.com/scivision/iri2016
cd iri2016
pip install -e .
Thanks a lot, Michael!
Maybe this error is because of my Chinese Windows system. Anyway, Thank you for your excellent job.
The problem is solved by change the default encoding of operating system from 'gbk' to 'utf-8'. Thanks.
OK Cool Gary thanks for letting us know! This is something that may be less of an issue in the future as Python ≥ 3.7 explicitly defaults to UTF8.
Hello Michael,
Thanks for your repositories.
I am trying to install iri2016 on my PC with a windows 10 platform.
After the Gfortran and Python 3.6.7 are installed, I always encounter the following problem when I try to intall iri2016 using "pip install iri2016" or "python setup.py build_ext --inplace --compiler=mingw32"
File "D:\Programs\Python\Python36\lib\fileinput.py", line 299, in readline line = self._readline() UnicodeDecodeError: 'gbk' codec can't decode byte 0x93 in position 3975: illegal multibyte sequence
Can you help me with this? Thanks, Gary