module 'setuptools.dist' has no attribute 'check_specifier'

When installing maskrcnn encounters such a problem, the solution obtained after query is:

pip install --upgrade pip
hash -r pip
pip3 install --upgrade pip
hash -r pip3
cd (Mask RCNN root folder)
sudo python3 setup.py install

Successfully resolved, sprinkle flowers~~~

Guess you like

Origin blog.csdn.net/wi162yyxq/article/details/87924193