[OmniOS-discuss] Error during Pillow (python image library) installation with pkgsrc

Krzysztof Grzempa grzempek at gmail.com
Sun Jun 4 19:59:51 UTC 2017


Hi,
I'm trying to install Pillow library from pkgsrc. Without it i cannot make
migrations in my django app deployment.
I tried to install it from pip but it throws me an error:

pip3.6 install Pillow

(...)

  ----------------------------------------
Command "/opt/local/bin/python3.6 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-luu6n5q1/Pillow/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-fcwc1p7f-record/install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
/tmp/pip-build-luu6n5q1/Pillow/


So i found prepared package in pkgsrc. But installing it ends with error:

pkgin install py36-Pillow-4.0.0nb2
calculating dependencies... done.

nothing to upgrade.
2 packages to be installed (0B to download, 2599K to install):

py36-olefile-0.44 py36-Pillow-4.0.0nb2

proceed ? [Y/n] Y
downloading packages...
installing packages...
installing py36-olefile-0.44...
installing py36-Pillow-4.0.0nb2...
pkg_install warnings: 0, errors: 3
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log


---Jun 04 21:57:43: installing py36-olefile-0.44...
pkg_add: Failed to write
lib/python3.6/site-packages/olefile-0.44-py3.6.egg-info for
py36-olefile-0.44: Could not unlink
pkg_add: attempting to delete directory
`/opt/local/lib/python3.6/site-packages/olefile-0.44-py3.6.egg-info' as a
file
this packing list is incorrect - ignoring delete request
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/CONTRIBUTORS.txt
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/LICENSE.txt
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/README.html
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/README.rst
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/__init__.py
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/__pycache__/__init__.cpython-36.pyc
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/__pycache__/__init__.cpython-36.opt-1.pyc
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/olefile.py
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/__pycache__/olefile.cpython-36.pyc
pkg_add: Couldn't remove
/opt/local/lib/python3.6/site-packages/olefile/__pycache__/olefile.cpython-36.opt-1.pyc
pkg_add: 1 package addition failed
---Jun 04 21:57:43: installing py36-Pillow-4.0.0nb2...
pkg_add: Conflicting PLIST with py36-olefile-0.44:
lib/python3.6/site-packages/olefile-0.44-py3.6.egg-info
pkg_add: Can't install dependency py36-olefile-*
pkg_add: 1 package addition failed


The problem seems to be with  olefile-0.44-py3.6...How to deal with it ?

regards,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170604/d39d128f/attachment.html>


More information about the OmniOS-discuss mailing list