You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: jaraco (Bitbucket: jaraco, GitHub: jaraco)
The use of StringIO in pkg_resources.resource_stream appears to be causing errors in setuptools 0.8:
> python
Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:06:53) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> pkg_resources.require('pytz')[0].version
'2013b'
>>> import pytz
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<frozen importlib._bootstrap>", line 1567, in _find_and_load
File "<frozen importlib._bootstrap>", line 1534, in _find_and_load_unlocked
File "c:\python\lib\site-packages\pytz-2013b-py3.3.egg\pytz\__init__.py", line 1103, in <module>
File "c:\python\lib\site-packages\pytz-2013b-py3.3.egg\pytz\__init__.py", line 1103, in <listcomp>
File "c:\python\lib\site-packages\pytz-2013b-py3.3.egg\pytz\__init__.py", line 107, in resource_exists
File "c:\python\lib\site-packages\pytz-2013b-py3.3.egg\pytz\__init__.py", line 100, in open_resource
File "c:\python\lib\site-packages\setuptools-0.8b5-py3.3.egg\pkg_resources.py", line 951, in resource_stream
File "c:\python\lib\site-packages\setuptools-0.8b5-py3.3.egg\pkg_resources.py", line 1405, in get_resource_stream
File "c:\python\lib\site-packages\setuptools-0.8b5-py3.3.egg\pkg_resources.py", line 1982, in StringIO
TypeError: initial_value must be str or None, not bytes
Originally reported by: jaraco (Bitbucket: jaraco, GitHub: jaraco)
The use of StringIO in pkg_resources.resource_stream appears to be causing errors in setuptools 0.8:
The text was updated successfully, but these errors were encountered: