[MacPorts] #58799: py-Pillow and py-pil conflict

MacPorts noreply at macports.org
Thu Aug 8 17:08:10 UTC 2019


#58799: py-Pillow and py-pil conflict
-------------------------------+--------------------
  Reporter:  renzresearch      |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.5.4
Resolution:                    |   Keywords:
      Port:  py-Pillow py-pil  |
-------------------------------+--------------------

Comment (by renzresearch):

 Thanks.  I replaced py27-pil with py27-Pillow and removed something I
 don't care.  No severe consequence immediately.  I notice that under
 py27-pil "import Image" must be changed to "from PIL import Image" under
 py27-Pillow.  That is OK.  However, this happens:

 {{{
 >>> import skimage
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/skimage/__init__.py", line 167, in <module>
     from .util.dtype import (img_as_float32,
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/skimage/util/__init__.py", line 6, in <module>
     from .apply_parallel import apply_parallel
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/skimage/util/apply_parallel.py", line 8, in <module>
     import dask.array as da
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/dask/array/__init__.py", line 4, in <module>
     from .blockwise import blockwise, atop
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/dask/array/blockwise.py", line 16
     name=None,
        ^
 SyntaxError: invalid syntax
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58799#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list