Skip to content
Snippets Groups Projects
Commit 4c132409 authored by mhocke's avatar mhocke
Browse files

Fix TensorFlow on Python 3.8 logger issue

Copied the fix from tensorflow 2.0
See: https://github.com/tensorflow/tensorflow/pull/33953/commits/ea3063c929c69f738bf65bc99dad1159803e772f



> This fix tries to address the issue raised in 33799
> where running tensorflow on python 3.8 (Ubuntu 18.04)
> raised the following error:
> ```
> TypeError: _logger_find_caller() takes from 0 to 1 positional arguments but 2 were given
> ```
>
> The issue was that findCaller changed in Python 3.8
>
> This PR fixes the issue.
>
> This PR fixes 33799

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 5cdf5e59
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment