On 08/14/2017 01:00 PM, Daniel Wallace wrote:
> You will need to pip install them.
Any other options? --
> Collecting pygit2
> Downloading pygit2-0.26.0.tar.gz (457kB)
> 100% |████████████████████████████████| 460kB 1.1MB/s
> Complete output from command python setup.py egg_info:
> Package libffi was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libffi.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libffi' found
> Package libffi was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libffi.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libffi' found
> Package libffi was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libffi.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libffi' found
> Package libffi was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libffi.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libffi' found
> Package libffi was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libffi.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libffi' found
> unable to execute 'gcc': No such file or directory
> unable to execute 'gcc': No such file or directory
>
> No working compiler found, or bogus compiler options
> passed to the compiler from Python's distutils module.
> See the error messages above.
> (If they are about -mno-fused-madd and you are on OS/X 10.8,
> see
http://stackoverflow.com/questions/22313407/ .)
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/tmp/pip-build-3zkTsJ/pygit2/setup.py", line 202, in <module>
> **extra_args)
> File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup
> _setup_distribution = dist = klass(attrs)
> File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 317, in __init__
> self.fetch_build_eggs(attrs['setup_requires'])
> File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 372, in fetch_build_eggs
> replace_conflicting=True,
> File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 846, in resolve
> dist = best[req.key] = env.best_match(req, ws, installer)
> File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1118, in best_match
> return self.obtain(req, installer)
> File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1130, in obtain
> return installer(requirement)
> File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 440, in fetch_build_egg
> return cmd.easy_install(req)
> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
> return self.install_item(spec, dist.location, tmpdir, deps)
> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 699, in install_item
> dists = self.install_eggs(spec, download, tmpdir)
> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 880, in install_eggs
> return self.build_and_install(setup_script, setup_base)
> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1119, in build_and_install
> self.run_setup(setup_script, setup_base, args)
> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1107, in run_setup
> raise DistutilsError("Setup script exited with %s" % (v.args[0],))
> distutils.errors.DistutilsError: Setup script exited with 1
>
> ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3zkTsJ/pygit2/