在Ubuntu上使用DevStack部署OpenStack中可能遇到的问题与解决方法
-
- 新版python setuptools (>58.0.0)在通过pip安装suds-jurko包时会提示error in suds-jurko setup command: use_2to3 is invalid
解决方法:
-
|
pip install 'setuptools==58.0.0' #指定安装58.0.0版本的setuptools |
参见:https://github.com/andersinno/suds-jurko/issues/6
-
|
pip install -i https://m.devpi.net/jaraco/dev suds-jurko #使用第三方源安装suds-jurko |
参见:https://github.com/pypa/setuptools/issues/2784
- ERROR: Cannot uninstall ‘simplejson’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决方案:
- (推荐)修改 inc/python 中
为
|
$cmd_pip $upgrade --ignore-installed \ |
- (不推荐,似乎还是有问题)手工卸载simplejson
|
sudo apt purge python3-simplejson |
Comments