# Ansible probleme

**URL:** <https://forum.freifunk-muensterland.de/t/ansible-probleme/2540>\
**Category:** Ansible\
**Created:** [21. März 2017 um 10:47 UTC](https://forum.freifunk-muensterland.de/t/ansible-probleme/2540 "2017-03-21T10:47:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![descilla](https://forum.freifunk-muensterland.de/user_avatar/forum.freifunk-muensterland.de/descilla/32/420_2.png) [@descilla](https://forum.freifunk-muensterland.de/u/descilla)\
**Post date:** [21. März 2017 um 18:38 UTC](https://forum.freifunk-muensterland.de/t/ansible-probleme/2540/5 "2017-03-21T18:38:16Z")

</div>

> [@Einsteiger007](#):
>
> Weiß jemand weiter? GrüßeChristoph

Es gab wohl mal ein Problem mit der Version 0.7 von cairociffi:

> <https://github.com/Kozea/cairocffi/issues/64>
>
> cairocffi 0.7 fails to be installed by pip when cffi\<=1.0 is currently installed… on the system, throwing the following error:
> 
> \`\`\`
> File "\<string\>", line 17, in \<module\>
> File "/tmp/pip\_build\_root/cairocffi/setup.py", line 57, in \<module\>
> \*\*cffi\_args
> File "/usr/lib/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 243, in \_\_init\_\_
> \_Distribution.\_\_init\_\_(self,attrs)
> File "/usr/lib/python2.7/distutils/dist.py", line 287, in \_\_init\_\_
> self.finalize\_options()
> File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 277, in finalize\_options
> ep.load()(self, ep.name, value)
> File "/usr/lib/python2.7/dist-packages/pkg\_resources.py", line 2088, in load
> entry = \_\_import\_\_(self.module\_name, globals(),globals(), \['\_\_name\_\_'\])
> ImportError: No module named setuptools\_ext
> \`\`\`
> 
> Here is a Dockerfile to reproduce:
> 
> \`\`\`
> FROM ubuntu:trusty
> 
> RUN apt-get update && apt-get -y --no-install-recommends install \\
> build-essential \\
> libffi-dev \\
> python2.7 \\
> python-dev \\
> python-pip
> 
> RUN pip install --upgrade \\
> "cffi\<1.0"
> 
> RUN pip install --upgrade \\
> cairocffi
> \`\`\`
> 
> The problem is slightly annoying as at least Ubuntu (both recent TLS and normal versions) ship a python-cffi (and also python3-cffi) version below 1.0 - which is nice to avoid the need for a compiler to be installed. Anyway, I think it should not fail, if an older version is currently installed.

Aber das sollte eigentlich mittlerweile behoben sein.

---

_[View the full topic](https://forum.freifunk-muensterland.de/t/ansible-probleme/2540)._
