realtime object detection No module named 'tensorflow.compat.v1'
stackoverflow.com › questions › 65501905Dec 30, 2020 · line 27, in import tensorflow.compat.v1 as tf ModuleNotFoundError: No module named 'tensorflow.compat.v1' TF 1.9 and earlier do not have compat module. To use it you need TF 1.10+. Its better to use conda install everywhere possible with conda virtual enviroment. Also since you are using tensorflow models make sure you has corresponding version of repository, for example latest TF1.x version located here