FS#60324 - [python-tensorflow-opt-cuda] missing dependencies in tf 1.11

Attached to Project: Community Packages
Opened by John Tukey (John_Tukey) - Saturday, 06 October 2018, 14:02 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 08 October 2018, 08:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
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:
After updating to python-tensorflow-opt-cuda 1.11, my tensorflow code crashes with a `ModuleNotFoundError`

Additional info:

` from tensorflow.contrib import signal
File "/usr/lib/python3.7/site-packages/tensorflow/contrib/__init__.py", line 25, in <module>
from tensorflow.contrib import autograph
File "/usr/lib/python3.7/site-packages/tensorflow/contrib/autograph/__init__.py", line 27, in <module>
from tensorflow.contrib.autograph.core.errors import GraphConstructionError
File "/usr/lib/python3.7/site-packages/tensorflow/contrib/autograph/core/errors.py", line 34, in <module>
from tensorflow.contrib.autograph.pyct import origin_info
File "/usr/lib/python3.7/site-packages/tensorflow/contrib/autograph/pyct/origin_info.py", line 23, in <module>
import gast
`

When installing the gast package manually through pip, I also get the following messages:

`Successfully built gast
tensorflow 1.11.0 requires astor>=0.6.0, which is not installed.
tensorflow 1.11.0 requires grpcio>=1.8.6, which is not installed.
tensorflow 1.11.0 requires termcolor>=1.1.0, which is not installed.
tensorflow 1.11.0 has requirement setuptools<=39.1.0, but you'll have setuptools 40.4.3 which is incompatible.
Installing collected packages: gast
Successfully installed gast-0.2.0
`
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 08 October 2018, 08:41 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 07 October 2018, 21:43 GMT
Can reproduce and know how to fix. Check the new package once it's pushed.

Loading...