FS#61874 - [tensorflow-opt-cuda] ModuleNotFoundError: No module named 'tensorflow_estimator'

Attached to Project: Arch Linux
Opened by Cat (lasercat) - Wednesday, 27 February 2019, 09:20 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 14 May 2019, 18:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python code 'import tensorflow.contrib.slim' gives the following error.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.7/site-packages/tensorflow/contrib/__init__.py", line 34, in <module>
from tensorflow.contrib import compiler
File "/usr/lib/python3.7/site-packages/tensorflow/contrib/compiler/__init__.py", line 22, in <module>
from tensorflow.contrib.compiler import xla
File "/usr/lib/python3.7/site-packages/tensorflow/contrib/compiler/xla.py", line 28, in <module>
from tensorflow.python.estimator import model_fn as model_fn_lib
File "/usr/lib/python3.7/site-packages/tensorflow/python/estimator/__init__.py", line 26, in <module>
from tensorflow_estimator.python import estimator
ModuleNotFoundError: No module named 'tensorflow_estimator'
---------------------------
and the tf shows it self to be 1.12....
>>> import tensorflow
>>> tensorflow.__version__
'1.12.0'
but pacman -Q gives
tensorflow-opt-cuda 1.13.0-1

--------------------------------------------

Additional info:
* package version(s)
1.13.0-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
feed 'import tensorflow.contrib.slim' to python
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 14 May 2019, 18:40 GMT
Reason for closing:  Fixed
Comment by Cat (lasercat) - Thursday, 28 February 2019, 05:26 GMT
persists in 1.31-1....
The version number is now correct tho
Comment by Cat (lasercat) - Friday, 01 March 2019, 08:22 GMT
It seems pip install tensorflow_estimator --user fixed this for me, at least importing makes no error now.
Comment by Cat (lasercat) - Sunday, 10 March 2019, 12:01 GMT
Gone in tensorflow-opt-cuda 1.13.1-2

Loading...