Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Can't install celery 3.1.9 on python 3.3 #1889

extesy opened this Issue · 4 comments

3 participants

Oleg Anashkin Ask Solem Hoel Ionel Cristian Mărieș
Oleg Anashkin

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)
Ask Solem Hoel

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

Oleg Anashkin

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?

Ionel Cristian Mărieș
Ask Solem Hoel

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 Solem Hoel ask closed this in a727a66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.