You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Matthias Huschle (JIRA)" <ji...@apache.org> on 2016/11/03 12:20:58 UTC
[jira] [Commented] (AIRFLOW-598) Can't install Airlfow
[ https://issues.apache.org/jira/browse/AIRFLOW-598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15632571#comment-15632571 ]
Matthias Huschle commented on AIRFLOW-598:
------------------------------------------
This seems to have been an issue of the pandas installation with the latest version of cython, as documented here:
https://groups.google.com/forum/#!topic/cython-users/gcHmrVz-GWo
Seems to be fixed now - I could at least not reproduce it under python 3.4.
> Can't install Airlfow
> ---------------------
>
> Key: AIRFLOW-598
> URL: https://issues.apache.org/jira/browse/AIRFLOW-598
> Project: Apache Airflow
> Issue Type: Bug
> Affects Versions: Airflow 1.7.1.3
> Reporter: Sadok Ben Yahya
> Priority: Critical
>
> Hi,
> i get this error when trying to install airflow 1.7.1.3 on ubuntu 14.04.5 with kernel 4.4.0-45-generic and python version 2.7.6.
> Some Logs:
> -----------------
> Installed /tmp/pip-build-1KTFCl/pandas/.eggs/numpy-1.11.2-py2.7-linux-x86_64.egg
> running egg_info
> creating pip-egg-info/pandas.egg-info
> writing requirements to pip-egg-info/pandas.egg-info/requires.txt
> writing pip-egg-info/pandas.egg-info/PKG-INFO
> writing top-level names to pip-egg-info/pandas.egg-info/top_level.txt
> writing dependency_links to pip-egg-info/pandas.egg-info/dependency_links.txt
> writing manifest file 'pip-egg-info/pandas.egg-info/SOURCES.txt'
> warning: manifest_maker: standard file '-c' not found
> package init file 'pandas/io/tests/sas/__init__.py' not found (or not a regular file)
> pandas/index.pyx: cannot find cimported module 'datetime'
> pandas/index.pyx: cannot find cimported module 'util'
> ./pandas/hashtable.pxd: cannot find cimported module 'khash'
> Traceback (most recent call last):
> File "<string>", line 17, in <module>
> File "/tmp/pip-build-1KTFCl/pandas/setup.py", line 680, in <module>
> **setuptools_kwargs)
> File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
> dist.run_commands()
> File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
> File "<string>", line 15, in replacement_run
> File "/usr/local/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 306, in find_sources
> mm.run()
> File "/usr/local/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 533, in run
> self.add_defaults()
> File "/usr/local/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 562, in add_defaults
> sdist.add_defaults(self)
> File "/usr/local/lib/python2.7/dist-packages/setuptools/command/py36compat.py", line 36, in add_defaults
> self._add_defaults_ext()
> File "/usr/local/lib/python2.7/dist-packages/setuptools/command/py36compat.py", line 119, in _add_defaults_ext
> build_ext = self.get_finalized_command('build_ext')
> File "/usr/lib/python2.7/distutils/cmd.py", line 312, in get_finalized_command
> cmd_obj.ensure_finalized()
> File "/usr/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
> self.finalize_options()
> File "/usr/local/lib/python2.7/dist-packages/Cython/Distutils/build_ext.py", line 19, in finalize_options
> self.distribution.ext_modules)
> File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 809, in cythonize
> aliases=aliases)
> File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 714, in create_extension_list
> kwds = deps.distutils_info(file, aliases, base).values
> File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 590, in distutils_info
> return (self.transitive_merge(filename, self.distutils_info0, DistutilsInfo.merge)
> File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 600, in transitive_merge
> node, extract, merge, seen, {}, self.cimported_files)[0]
> File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 605, in transitive_merge_helper
> deps = extract(node)
> File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 581, in distutils_info0
> externs = self.cimports_and_externs(filename)[1]
> File "/usr/local/lib/python2.7/dist-packages/Cython/Utils.py", line 44, in wrapper
> res = cache[args] = f(self, *args)
> File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 491, in cimports_and_externs
> for include in self.included_files(filename):
> File "/usr/local/lib/python2.7/dist-packages/Cython/Utils.py", line 44, in wrapper
> res = cache[args] = f(self, *args)
> File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 474, in included_files
> include_path = self.context.find_include_file(include, None)
> File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/Main.py", line 274, in find_include_file
> error(pos, "'%s' not found" % filename)
> File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/Errors.py", line 177, in error
> raise InternalError(message)
> Cython.Compiler.Errors.InternalError: Internal compiler error: 'algos_common_helper.pxi' not found
> ----------------------------------------
> Cleaning up...
> Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-1KTFCl/pandas
> Traceback (most recent call last):
> File "/usr/bin/pip", line 9, in <module>
> load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
> File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 248, 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)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)