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!
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!
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
Opened by Stephen (cclin) - Monday, 01 February 2021, 09:21 GMT
Last edited by Konstantin Gizdov (kgizdov) - Monday, 01 February 2021, 16:34 GMT
|
DetailsDescription:
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]
Monday, 01 February 2021, 16:34 GMT
Reason for closing: Fixed
Additional comments about closing: correct python-numpy is now in [extra]
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?"