Warum erhalte ich eine Fehlermeldung bei der Installation Kissen 3.0.0 auf Ubuntu?
Ich kürzlich gescheiterten versuchen zu installieren, Kissen 3.0.0 auf meinem Ubuntu 14.04.
Egal was ich mache (downloaden Sie und versuchen Sie zu sudo python setup.py install
oder sudo -H pip install Pillow==3.0.0 --no-cache-dir
) jedes mal bekomme ich Fehler:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-3waMkf/Pillow/setup.py", line 767, in <module>
zip_safe=not debug_build(),
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 "/usr/local/lib/python2.7/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 337, in run
self.build_extensions()
File "/tmp/pip-build-3waMkf/Pillow/setup.py", line 515, in build_extensions
% (f, f))
ValueError: --enable-zlib requested but zlib not found, aborting.
----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-3waMkf/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-S_sHo7-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-3waMkf/Pillow
- Diese Frage wurde so von Ihnen positiv bewertet werden, weil der ein Geheimnis hat. )
Du musst angemeldet sein, um einen Kommentar abzugeben.
Haben Sie installieren Sie die Abhängigkeiten für Kissen ? Sie können installieren Sie Sie, indem
pip
tut, ist, es installiert nur das Modul/Bibliothek. Manchmal, benötigen Bibliotheken, um die Dinge auf system-Ebene, die möglicherweise nicht standardmäßig installiert. Egal, ob Sie mit einer virtualenv installieren oder es weltweit, installieren Sie diese Bibliotheken verwenden Kissen.brew install Homebrew/python/pillow
,brew link jpeg
,xcode-select --install
sind Befehl, die Ihnen erlauben, einepip install pillow
.