点轮'需要setuptools> = 0.8才能获得dist-info支持

时间:2015-02-23 09:24:46

标签: python pip setuptools devstack python-wheel

我正在尝试运行devstack ./stack.sh,但它给了我这个错误:

ERROR: 'pip wheel' requires setuptools >= 0.8 for dist-info support. To fix this, run: pip install --upgrade setuptools

我尝试了不同的命令,例如:

pip install --upgrade setuptools

sudo pip install setuptools --no-use-wheel --upgrade  

但是在所有情况下我都会得到这个:

The directory '/home/nik/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.

Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages

0 个答案:

没有答案