Questions tagged «ipkg»

1
尽管所需的库可用,但Python枕头安装失败
美好的一天, 我将Synology DS215J用作Python开发环境。我已经配置ipkg为系统软件包管理器。我的目标是在虚拟环境中使用Django和Pillow python软件包(Django和virtualenv已通过安装pip)。不幸的是,我的虚拟Python环境中的Pillow软件包安装失败。 我已经通过安装枕头所需要的库ipkg:libjpeg,zlib,libtiff等我可以看到他们都在使用/usr/lib/。libjpeg链接到libjpeg.so.8.0.2 激活我的虚拟环境后,我尝试使用 pip install pillow Pip将下载版本3.0.0,在安装过程中,我遇到两个错误,然后显示一些有关该错误的详细信息: (....) Failed building wheel for Pillow (....) ValueError: --enable-jpeg requested but jpeg not found, aborting. ---------------------------------------- Command "/volume2/homes/user/Projects/django_project/venv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-2daEE8/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-NSRCzG-record/install-record.txt --single-version-externally-managed --compile --install-headers /volume2/homes/user/Projects/django_project/venv/include/site/python2.7/Pillow" failed with error code 1 in …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.