0

我正在尝试运行 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
4

0 回答 0