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