- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我的环境:
python --version
Python 3.5.2
pip --version
pip 19.3.1 from /home/chinmaya/.local/lib/python3.5/site-packages/pip (python 3.5)
ansible --version
ansible 2.9.2
config file = None
configured module search path = ['/home/chinmaya/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.5/dist-packages/ansible
executable location = /usr/local/bin/ansible
python version = 3.5.2 (default, Oct 8 2019, 13:06:37) [GCC 5.4.0 20160609]
使用以下代码安装并升级openstacksdkpip install --user --upgrade openstacksdk
这安装了以下软件包成功安装 certifi-2019.11.28 chardet-3.0.4 Decorator-4.4.1 Dogpile.cache-0.9.0 idna-2.8 jmespath-0.9.4 jsonpatch-1.24 keystoneauth1-3.18.0 munch-2.5.0 openstacksdk- 0.39.0 os-service-types-1.7.0 pbr-5.4.4 requests-2.22.0 requestsexceptions-1.4.0 stevedore-1.31.0 urllib3-1.25.7
现在执行了剧本ansible-playbook installNifiCentos.yml
这给出了以下错误:
现在我没有任何线索来解决这个问题。
最佳答案
我遇到所有此类冲突可能是由于两个 python 版本造成的。我决定删除 python 2.7,只保留一个 Python 3.5.2。删除 Python 2.7 后,它开始工作。但我还是不知道问题出在哪里。
关于python - ansible 2.9 中未找到 openstacksdk,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59458091/
我编写了一组与基于 openstack 的服务交互的自动化工具。工具依赖于openstack shade图书馆。那个客户库说 shade has been superceded by openstac
我的环境: python --version Python 3.5.2 pip --version pip 19.3.1 from /home/chinmaya/.local/lib/pyt
我是一名优秀的程序员,十分优秀!