diff --git a/setup.py b/setup.py index a0c45c2609..786d8bee72 100644 --- a/setup.py +++ b/setup.py @@ -88,6 +88,10 @@ def parse_line(line): info['version'] = (op, version) if is_running_on_colab() and info['package'] == 'xtcocotools': + # Due to an incompatibility between the Colab platform and the + # pre-built xtcocotools PyPI package, it is necessary to + # compile xtcocotools from source on Colab. Therefore, we use + # the source code from the GitHub repository. info = dict( line=info['line'], package='xtcocotools@'