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#64624 - tensorflow dependency broken

Attached to Project: Community Packages
Opened by Waldo122 (user824303582) - Saturday, 23 November 2019, 17:44 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 24 November 2019, 02:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The tensorflow module can no longer be imported (python).

Steps to reproduce:
Import tensorflow in a python3 script or in the prompt itself.

Possible cause:
Tensorflow depends on python3.7 or below, but the present version is 3.8.

More details:
The upstream issue is at https://github.com/tensorflow/tensorflow/issues/33374 (It says windows, but the issue is platform independent). Please make a temporary fix until the dependency error is solved.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Sunday, 24 November 2019, 02:20 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#64621 
Comment by Doug Newgard (Scimmia) - Saturday, 23 November 2019, 18:53 GMT
And you're still talking about a venv? How about actual errors?
Comment by Eli Schwartz (eschwartz) - Sunday, 24 November 2019, 02:18 GMT
$ sudo pacman -S --asdeps python-tensorflow
[sudo] password for eschwartz2:
resolving dependencies...
looking for conflicting packages...

Package (13) New Version Net Change Download Size

community/absl-py 0.8.1-3 0.99 MiB 0.15 MiB
community/hdf5 1.10.5-1 19.21 MiB
community/libaec 1.0.4-1 0.07 MiB 0.02 MiB
community/python-astor 0.8-3 0.20 MiB 0.04 MiB
community/python-gast 0.3.2-3 0.10 MiB 0.02 MiB
community/python-h5py 2.9.0-4 4.13 MiB 0.91 MiB
community/python-keras-applications 1.0.8-3 0.45 MiB 0.05 MiB
community/python-keras-preprocessing 1.1.0-3 0.37 MiB 0.05 MiB
extra/python-protobuf 3.10.1-1 4.44 MiB 0.57 MiB
community/python-tensorflow-estimator 2.0.0-2 3.17 MiB 0.48 MiB
community/python-termcolor 1.1.0-8 0.01 MiB 0.01 MiB
community/tensorflow 2.0.0-6 516.86 MiB 77.23 MiB
community/python-tensorflow 2.0.0-6 281.42 MiB 48.80 MiB

Total Download Size: 128.32 MiB
Total Installed Size: 831.42 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
python-protobuf-3.10.1-1-x86_64 579.6 KiB 3.20 MiB/s 00:00 [############################################################] 100%
tensorflow-2.0.0-6-x86_64 77.2 MiB 6.84 MiB/s 00:11 [############################################################] 100%
python-termcolor-1.1.0-8-any 6.1 KiB 0.00 B/s 00:00 [############################################################] 100%
python-astor-0.8-3-any 44.7 KiB 14.6 MiB/s 00:00 [############################################################] 100%
python-gast-0.3.2-3-any 18.1 KiB 0.00 B/s 00:00 [############################################################] 100%
absl-py-0.8.1-3-any 158.2 KiB 7.73 MiB/s 00:00 [############################################################] 100%
libaec-1.0.4-1-x86_64 22.5 KiB 0.00 B/s 00:00 [############################################################] 100%
python-h5py-2.9.0-4-x86_64 929.7 KiB 5.04 MiB/s 00:00 [############################################################] 100%
python-keras-applications-1.0.8-3-any 48.8 KiB 7.94 MiB/s 00:00 [############################################################] 100%
python-keras-preprocessing-1.1.0-3-any 54.3 KiB 8.84 MiB/s 00:00 [############################################################] 100%
python-tensorflow-estimator-2.0.0-2-any 486.8 KiB 7.43 MiB/s 00:00 [############################################################] 100%
python-tensorflow-2.0.0-6-x86_64 48.8 MiB 6.17 MiB/s 00:08 [############################################################] 100%
(13/13) checking keys in keyring [############################################################] 100%
(13/13) checking package integrity [############################################################] 100%
(13/13) loading package files [############################################################] 100%
(13/13) checking for file conflicts [############################################################] 100%
(13/13) checking available disk space [############################################################] 100%
:: Processing package changes...
( 1/13) installing tensorflow [############################################################] 100%
Optional dependencies for tensorflow
tensorboard: Tensorflow visualization toolkit
python-pasta: tf_upgrade_v2 tool
( 2/13) installing python-termcolor [############################################################] 100%
( 3/13) installing python-astor [############################################################] 100%
( 4/13) installing python-gast [############################################################] 100%
( 5/13) installing python-protobuf [############################################################] 100%
( 6/13) installing absl-py [############################################################] 100%
( 7/13) installing libaec [############################################################] 100%
( 8/13) installing hdf5 [############################################################] 100%
( 9/13) installing python-h5py [############################################################] 100%
(10/13) installing python-keras-applications [############################################################] 100%
(11/13) installing python-keras-preprocessing [############################################################] 100%
(12/13) installing python-tensorflow-estimator [############################################################] 100%
(13/13) installing python-tensorflow [############################################################] 100%
Optional dependencies for python-tensorflow
tensorboard: Tensorflow visualization toolkit
python-pasta: tf_upgrade_v2 tool
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
$ python
Python 3.8.0 (default, Oct 23 2019, 18:51:26)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.summary API due to missing TensorBoard installation.
>>>
Comment by Eli Schwartz (eschwartz) - Sunday, 24 November 2019, 02:19 GMT
You are still using pip and complaining when pip install does not install software for you. This is not a packaging problem, and you MUST NOT open new bugs when your old bug is closed, while attempting to hide what you actually tried doing. Try this a third time and you'll be suspended.

https://old.reddit.com/r/archlinux/comments/e0iig5/cannot_install_tensorflow_with_pip38_virtualenv/

There is *NO* problem with our pacman packages, and this bug tracker is not an appropriate place to get help for software you obtained outside of pacman (our official distro channel), even if you were being honest about it. Try the help forums, or your existing reddit thread.

Loading...