ImportError: No module named absl.testing


I’ve been trying to run the Object detection API, at the point to test if the instalation worked:

python object_detection/builders/

I got the following error:

    File "object_detection/builders/", line 18, in <module>
    from absl.testing import parameterized
ImportError: No module named absl.testing

I couldn’t find a solution anywhere. Already tried pip install absl-py and pip3 install absl-py but without success.
Hope you could help me.


Got it working by using python3 object_detection/builders/
instead of python object_detection/builders/ I forgot that I was using TF for python3.

Answered By – PedroSG

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published