Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69495 - [tensorflow] 2.4.1-3 mismatch numpy

Attached to Project: Community Packages
Opened by Stephen (cclin) - Monday, 01 February 2021, 09:21 GMT
Last edited by Konstantin Gizdov (kgizdov) - Monday, 01 February 2021, 16:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan de Groot (JGC)
Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Konstantin Gizdov (kgizdov)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
could not import tensorflow due to numpy version issue

Additional info:
* python-numpy 1.19.5-1
* python-tensorflow-opt-cuda 2.4.1-3

RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
ImportError: numpy.core._multiarray_umath failed to import
ImportError: numpy.core.umath failed to import
2021-02-01 17:19:58.500082: F tensorflow/python/lib/core/bfloat16.cc:714] Check failed: PyBfloat16_Type.tp_base != nullptr
[1] 77464 abort (core dumped) python -c "import tensorflow as tf"

Steps to reproduce:
python -c "import tensorflow as tf"
This task depends upon

Closed by  Konstantin Gizdov (kgizdov)
Monday, 01 February 2021, 16:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  correct python-numpy is now in [extra]
Comment by Stephen (cclin) - Monday, 01 February 2021, 09:22 GMT
Similar with  FS#69494 
"I could confirm that if I install python-numpy-1.20.0-1 from testing repo, and pytorch works as expected. Could you publish a pytorch pkg build with python-numpy-1.19.5-1 in case python-numpy-1.20.0-1 is not available in extra repo?"

Loading...