python3-azure软件包之间的冲突

时间:2018-12-10 13:25:44

标签: python python-3.x azure openembedded

我在openembedded构建中安装python3-azure-storage-blob软件时遇到问题。我于2018年12月7日下载了各种openembedded层。  进行构建时出现以下错误消息:

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-storage-blob添加到CORE_IMAGE_EXTRA_INSTALL变量中。即使我只有python3-azure-storage-blob项目,它也会因上述错误而失败。

所有食谱均位于meta-iot-cloud / recipes-azure / python目录中。我在https://github.com/Azure/azure-sdk-for-python浏览了有关azure-sdk-for-python的问题,但没有发现任何问题。

如果我跑步

bitbake python3-azure-storage-blob

它构建良好。只有当我尝试将其安装到映像中时,才会出现上述错误。

如果我应该使用update-alternatives.bbclass来解决此问题,那很好。请让我知道使用update-alternatives.bbclass需要做什么。

如果这是需要在meta-iot-cloud层中解决的问题,或者azure-sdk-for-python网站提供的问题,请告诉我。我可以向该网站提交错误报告。

谢谢

0 个答案:

没有答案