pytho 2.6 salt state模块pip报AttributeError: 'Requirement' object has no attribute 'project_name'
pip install --upgrade pip
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
回退到0.7版本解决。
# pip --version
pip 7.1.0 from /usr/lib/python2.6/site-packages (python 2.6)
阅读(1562) | 评论(0) | 转发(0) |