UnicodeDecodeError
Closed this issue · 5 comments
hi,
E:\zephyr>pip install intervaltree
Collecting intervaltree
Using cached https://files.pythonhosted.org/packages/6b/63/42329a3e503366be2be68384336db308a795516b362437368ddd82d3368f/intervaltree-3.0.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\gary\AppData\Local\Temp\pip-install-kcs7dz4o\intervaltree\setup.py", line 60, in
long_description = fh.read()
UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 5223: illegal multibyte sequence
!!!>>> This is a RELEASE version <<<!!!
Version: 3.0.1
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\gary\AppData\Local\Temp\pip-install-kcs7dz4o\intervaltree\
Same issue here.
And the version 2.1.0 seems to be okay.
$ pip install -Iv intervaltree==2.1.0
Could you try this and tell me if it works? If it does, I'll make a new release.
pip uninstall intervaltree
pip install \
--no-cache-dir \
--index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple \
intervaltree
It works now....
E:\zephyr>pip uninstall intervaltree
Uninstalling intervaltree-2.1.0:
Would remove:
d:\python\python37\lib\site-packages\intervaltree-2.1.0-py3.7.egg-info
d:\python\python37\lib\site-packages\intervaltree*
Proceed (y/n)? y
Successfully uninstalled intervaltree-2.1.0
E:\zephyr>pip install --no-cache-dir --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple intervaltree
Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple
Collecting intervaltree
Downloading https://test-files.pythonhosted.org/packages/68/d7/7c283a11a870d207964022f05d1da7ceacb2c0bd78edd728277de96ba740/intervaltree-3.0.1.post1.tar.gz
Requirement already satisfied: sortedcontainers<3.0,>=2.0 in d:\python\python37\lib\site-packages (from intervaltree) (2.1.0)
Installing collected packages: intervaltree
Running setup.py install for intervaltree ... done
Successfully installed intervaltree-3.0.2
Released in 3.0.2!