You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Dennis Du Krøger (JIRA)" <ji...@apache.org> on 2016/05/12 11:46:12 UTC
[jira] [Commented] (METAMODEL-324) Error installing Airflow on AWS
EC2
[ https://issues.apache.org/jira/browse/METAMODEL-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15281440#comment-15281440 ]
Dennis Du Krøger commented on METAMODEL-324:
--------------------------------------------
This seems to be the wrong Project. We're not a Python Project, and we're not called Airflow
> Error installing Airflow on AWS EC2
> -----------------------------------
>
> Key: METAMODEL-324
> URL: https://issues.apache.org/jira/browse/METAMODEL-324
> Project: Apache MetaModel
> Issue Type: Bug
> Reporter: Rad Mohabir
>
> I issued the pip install airflow command on an AWS EC2 instance with AWS AMI and I get the following error:
> Collecting airflow
> Using cached airflow-1.7.0.tar.gz
> Collecting alembic<0.9,>=0.8.3 (from airflow)
> Using cached alembic-0.8.6.tar.gz
> Collecting babel<2.0,>=1.3 (from airflow)
> Using cached Babel-1.3.tar.gz
> Collecting chartkick<0.5,>=0.4.2 (from airflow)
> Using cached chartkick-0.4.2.tar.gz
> Collecting croniter<0.4,>=0.3.8 (from airflow)
> Using cached croniter-0.3.12.tar.gz
> Collecting dill<0.3,>=0.2.2 (from airflow)
> Using cached dill-0.2.5.tgz
> Collecting flask<0.11,>=0.10.1 (from airflow)
> Using cached Flask-0.10.1.tar.gz
> Collecting flask-admin<2.0.0,>=1.4.0 (from airflow)
> Using cached Flask-Admin-1.4.0.tar.gz
> Collecting flask-cache<0.14,>=0.13.1 (from airflow)
> Using cached Flask-Cache-0.13.1.tar.gz
> Collecting flask-login==0.2.11 (from airflow)
> Using cached Flask-Login-0.2.11.tar.gz
> Collecting future<0.16,>=0.15.0 (from airflow)
> Using cached future-0.15.2.tar.gz
> Collecting gunicorn<19.4.0,>=19.3.0 (from airflow)
> Using cached gunicorn-19.3.0-py2.py3-none-any.whl
> Collecting jinja2<3.0,>=2.7.3 (from airflow)
> Using cached Jinja2-2.8-py2.py3-none-any.whl
> Collecting markdown<3.0,>=2.5.2 (from airflow)
> Using cached Markdown-2.6.6.zip
> Collecting pandas<1.0.0,>=0.15.2 (from airflow)
> Using cached pandas-0.18.1.tar.gz
> Complete output from command python setup.py egg_info:
> Running from numpy source directory.
> /tmp/easy_install-8r6C2C/numpy-1.11.0/setup.py:327: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
> warnings.warn("Unrecognized setuptools command, proceeding with "
> /tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/system_info.py:1640: UserWarning:
> Atlas (http://math-atlas.sourceforge.net/) libraries not found.
> Directories to search for the libraries can be specified in the
> numpy/distutils/site.cfg file (section [atlas]) or by setting
> the ATLAS environment variable.
> warnings.warn(AtlasNotFoundError.__doc__)
> /tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/system_info.py:1649: UserWarning:
> Blas (http://www.netlib.org/blas/) libraries not found.
> Directories to search for the libraries can be specified in the
> numpy/distutils/site.cfg file (section [blas]) or by setting
> the BLAS environment variable.
> warnings.warn(BlasNotFoundError.__doc__)
> /tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/system_info.py:1652: UserWarning:
> Blas (http://www.netlib.org/blas/) sources not found.
> Directories to search for the sources can be specified in the
> numpy/distutils/site.cfg file (section [blas_src]) or by setting
> the BLAS_SRC environment variable.
> warnings.warn(BlasSrcNotFoundError.__doc__)
> /bin/sh: svnversion: command not found
> /bin/sh: svnversion: command not found
> /tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/system_info.py:1542: UserWarning:
> Atlas (http://math-atlas.sourceforge.net/) libraries not found.
> Directories to search for the libraries can be specified in the
> numpy/distutils/site.cfg file (section [atlas]) or by setting
> the ATLAS environment variable.
> warnings.warn(AtlasNotFoundError.__doc__)
> /tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/system_info.py:1553: UserWarning:
> Lapack (http://www.netlib.org/lapack/) libraries not found.
> Directories to search for the libraries can be specified in the
> numpy/distutils/site.cfg file (section [lapack]) or by setting
> the LAPACK environment variable.
> warnings.warn(LapackNotFoundError.__doc__)
> /tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/system_info.py:1556: UserWarning:
> Lapack (http://www.netlib.org/lapack/) sources not found.
> Directories to search for the sources can be specified in the
> numpy/distutils/site.cfg file (section [lapack_src]) or by setting
> the LAPACK_SRC environment variable.
> warnings.warn(LapackSrcNotFoundError.__doc__)
> /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'define_macros'
> warnings.warn(msg)
> non-existing path in 'numpy/distutils': 'site.cfg'
> Could not locate executable gfortran
> Could not locate executable f95
> Could not locate executable ifort
> Could not locate executable ifc
> Could not locate executable lf95
> Could not locate executable pgfortran
> Could not locate executable f90
> Could not locate executable f77
> Could not locate executable fort
> Could not locate executable efort
> Could not locate executable efc
> Could not locate executable g77
> Could not locate executable g95
> Could not locate executable pathf95
> don't know how to compile Fortran code on platform 'posix'
> sh: gcc: command not found
> sh: gcc: command not found
> Traceback (most recent call last):
> File "<string>", line 20, in <module>
> File "/tmp/pip-build-v1YX1B/pandas/setup.py", line 631, in <module>
> **setuptools_kwargs)
> File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup
> _setup_distribution = dist = klass(attrs)
> File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 265, in __init__
> self.fetch_build_eggs(attrs['setup_requires'])
> File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 310, in fetch_build_eggs
> replace_conflicting=True,
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 799, in resolve
> dist = best[req.key] = env.best_match(req, ws, installer)
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1049, in best_match
> return self.obtain(req, installer)
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1061, in obtain
> return installer(requirement)
> File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 377, in fetch_build_egg
> return cmd.easy_install(req)
> File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 642, in easy_install
> return self.install_item(spec, dist.location, tmpdir, deps)
> File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 672, in install_item
> dists = self.install_eggs(spec, download, tmpdir)
> File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 857, in install_eggs
> return self.build_and_install(setup_script, setup_base)
> File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1085, in build_and_install
> self.run_setup(setup_script, setup_base, args)
> File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1071, in run_setup
> run_setup(setup_script, args)
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 240, in run_setup
> raise
> File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
> self.gen.throw(type, value, traceback)
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 193, in setup_context
> yield
> File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
> self.gen.throw(type, value, traceback)
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 164, in save_modules
> saved_exc.resume()
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 139, in resume
> compat.reraise(type, exc, self._tb)
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 152, in save_modules
> yield saved
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 193, in setup_context
> yield
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 237, in run_setup
> DirectorySandbox(setup_dir).run(runner)
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 267, in run
> return func()
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 236, in runner
> _execfile(setup_script, ns)
> File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 46, in _execfile
> exec(code, globals, locals)
> File "/tmp/easy_install-8r6C2C/numpy-1.11.0/setup.py", line 386, in <module>
> def pxd(name):
> File "/tmp/easy_install-8r6C2C/numpy-1.11.0/setup.py", line 378, in setup_package
> lib_depends.append('pandas/src/util.pxd')
> File "/tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/core.py", line 169, in setup
> File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
> dist.run_commands()
> File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
> self.run_command(cmd)
> File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
> File "/usr/lib/python2.7/dist-packages/setuptools/command/bdist_egg.py", line 152, in run
> self.run_command("egg_info")
> File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
> File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
> File "/tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/command/egg_info.py", line 18, in run
> File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
> File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
> File "/tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/command/build_src.py", line 147, in run
> File "/tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/command/build_src.py", line 158, in build_sources
> File "/tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/command/build_src.py", line 293, in build_library_sources
> File "/tmp/easy_install-8r6C2C/numpy-1.11.0/numpy/distutils/command/build_src.py", line 376, in generate_sources
> File "numpy/core/setup.py", line 654, in get_mathlib_info
> RuntimeError: Broken toolchain: cannot link a simple C program
> ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-v1YX1B/pandas
> [root@ip-172-31-62-81 ec2-user]# ^C
> [root@ip-172-31-62-81 ec2-user]#
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)