Can't install celery 3.1.9 on python 3.3 #1889

extesy opened this Issue Feb 25, 2014 · 4 comments

3 participants


I'm getting UnicodeDetectError while installing:

Downloading/unpacking celery>=3.1.9 (from -r /tmp/tmp2KgRiA (line 2))
  Running egg_info for package celery
    - Trying to upgrade 'task' in ''
    - upgrade task: no old version found.

    no previously-included directories found matching '*.pyc'
    no previously-included directories found matching '*.sw*'
Traceback (most recent call last):
  File "/home/extesy/kdd/venv/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/", line 139, in main
    status =, args)
  File "/home/extesy/kdd/venv/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/commands/", line 266, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/extesy/kdd/venv/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/", line 1062, in prepare_files
  File "/home/extesy/kdd/venv/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/", line 371, in assert_source_matches_version
    version = self.installed_version
  File "/home/extesy/kdd/venv/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/", line 367, in installed_version
    return self.pkg_info()['version']
  File "/home/extesy/kdd/venv/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/", line 334, in pkg_info
    data = self.egg_info_data('PKG-INFO')
  File "/home/extesy/kdd/venv/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/", line 274, in egg_info_data
    data =
  File "/home/extesy/kdd/venv/lib/python3.3/encodings/", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3593: ordinal not in range(128)
Celery member

That seems strange, it works for me here. Are you sure you don't have a pip cache or something?


It works when I install it manually from my user's console, but it doesn't work when installed automatically using Salt ( My guess is that it doesn't forward LANG environment variable, but should that really be a requirement for installing celery?

Celery member
Celery member

Works with C locale too:

env LANG=C LANGUAGE=C LC_ALL=C LOCALE=C pip install celery

Could be some older version of pip maybe

@ask ask closed this in a727a66 Feb 26, 2014
@kalefranz kalefranz added a commit to kalefranz/celery that referenced this issue Mar 7, 2014
@ask ask releaseok build now ensures README.rst is ASCII. Closes #1889 2a10dfc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment