Skip to content

'ascii' codec can't decode byte #61

Closed

Description

@tostasqb

Running through the Quickstart page right about the line that says:

pip install airflow

I get the following error:

Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_hugo/pandas
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 235, in main
    return command.main(cmd_args)
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
    text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: ordinal not in range(128)

It happens both on ubuntu 14.04 and Centos 7 at least...

Activity

  1. artwr commented on Jun 22, 2015

    @artwr
    Contributor

    Hi @tostasqb,
    It looks to be more an issue with pip and the numpy install (which is a required package for airflow).
    Maybe following this might solve it?
    What happens if you upgrade pip in a virtualenv and retry the install?

  2. artwr commented on Jun 22, 2015

    @artwr
    Contributor

    Apparently installing the system python-dev package for python 2.7 may be of help.
    I hope this helps. Let us know if you encounter more problems.

  3. tostasqb commented on Jun 23, 2015

    @tostasqb
    Author

    Installing python-numpy, as the first link suggests takes care of this issue although the default version of numpy still has incompatibilities. I'll be closing this for now. I Appreciate the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions