I'm not sure in which package the error lies here and thus where to
file the bug report. This occurs on only ppc64le with a matplotlib
build [1]. Does anyone have any ideas?

This works:
>>> import wx
>>> from PIL import Image

and this works:
>>> import numpy
>>> from PIL import Image

but if you import both first, then it fails:
>>> import numpy, wx  # or wx, numpy
>>> from PIL import Image
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.7/site-packages/PIL/Image.py", line 93, in <module>
    from . import _imaging as core
ImportError: /lib64/libgomp.so.1: cannot allocate memory in static TLS block

Also, if you import pillow first, it works fine.

Using the ppc64le test machine with:
python3-numpy-1.16.3-1.fc31.ppc64le
python3-pillow-6.0.0-2.fc31.ppc64le
python3-wxpython4-4.0.6-1.fc31.ppc64le

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=35329049

-- 
Elliott
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org

Reply via email to