Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

Ceph teuthology installation fails with following error on Ubuntu 14.04, kernel 4.4.0-51-generic:

ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/dist-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute 
like image 632
Vishal Kanaujia Avatar asked Dec 14 '16 11:12

Vishal Kanaujia


1 Answers

It was due to older setuptools version. I updated setuptools as follows:

sudo pip install setuptools --upgrade 

It installed setuptools-31.0.0 and that worked.

like image 78
Vishal Kanaujia Avatar answered Sep 23 '22 22:09

Vishal Kanaujia