Skip to content

Commit d274148

Browse files
author
Jonathan DEKHTIAR
authored
RTD Compilation Fix (#663)
1 parent e01ed18 commit d274148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorlayer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
" - `pip install --upgrade tensorflow-gpu`"
1717
)
1818

19-
if tensorflow.__version__ < "1.6.0":
19+
if tensorflow.__version__ < "1.6.0" and os.environ.get('READTHEDOCS', None) != 'True':
2020
raise RuntimeError(
2121
"TensorLayer does not support Tensorflow version older than 1.6.0.\n"
2222
"Please update Tensorflow with:\n"

0 commit comments

Comments
 (0)