在我打开的内置版本中安装python3 azure存储blob软件时遇到问题。我在2018年12月7日下载了各种开放的图层。
我在生成时收到以下错误消息:
Error: Transaction check error:
file /usr/lib/python3.5/site-packages/azure/__init__.py conflicts between attempted installs of python3-azure-common-1.1.12-r0.corei7_64 and python3-azure-nspkg-2.0.0-r0.corei7_64
file /usr/lib/python3.5/site-packages/azure/__pycache__/__init__.cpython-35.pyc conflicts between attempted installs of python3-azure-common-1.1.12-r0.corei7_64 and python3-azure-nspkg-2.0.0-r0.corei7_64
file /usr/lib/python3.5/site-packages/azure/__init__.py conflicts between attempted installs of python3-azure-storage-common-1.3.0-r0.corei7_64 and python3-azure-common-1.1.12-r0.corei7_64
file /usr/lib/python3.5/site-packages/azure/__pycache__/__init__.cpython-35.pyc conflicts between attempted installs of python3-azure-storage-common-1.3.0-r0.corei7_64 and python3-azure-common-1.1.12-r0.corei7_64
file /usr/lib/python3.5/site-packages/azure/storage/__init__.py conflicts between attempted installs of python3-azure-storage-common-1.3.0-r0.corei7_64 and python3-azure-storage-nspkg-3.0.0-r0.corei7_64
file /usr/lib/python3.5/site-packages/azure/storage/__pycache__/__init__.cpython-35.pyc conflicts between attempted installs of python3-azure-storage-common-1.3.0-r0.corei7_64 and python3-azure-storage-nspkg-3.0.0-r0.corei7_64
我在local.conf文件中尝试了不同的配置,但总是归结为将python3 azure存储blob添加到CORE_IMAGE_EXTRA_INSTALL变量。即使我只有python3 azure存储blob项,它也会因上述错误而失败。
所有的菜谱都在meta iot cloud/recipes azure/python目录中。我查看了azuresdkforpython的问题
https://github.com/Azure/azure-sdk-for-python
,但什么也没跳出来。
如果我跑
bitbake python3-azure-storage-blob
它建造得很好。只有当我试图将其安装到映像中时,才会出现上述错误。
如果我应该使用update-alternatives.bbclass来解决这个问题,那就好了。请告诉我使用update-alternatives.bbclass需要做什么。
如果这是一个需要在元物联网云层中解决的问题,或者azuresdkforpython网站正在提供什么,请让我知道。我可以向那个网站提交一份错误报告。
谢谢你