OpenVINO开发小组
直播中

张玲

7年用户 1239经验值
私信 关注
[问答]

ldquo无法使用OpenVINO trade工具包在Ubuntu 20.04要怎么解决?



  • 在 Ubuntu 20.04 上安装OpenVINO™工具套件
  • Ran demo_squeezenet_download_convert_run.sh
  • 遇到以下错误
Collecting pyyaml>=5.4.1  Downloading PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)     |████████████████████████████████| 662 kB 3.6 MB/s Requirement already satisfied: requests>=2.25.1 in /usr/local/lib/python3.8/dist-packages (from -r /opt/intel/openvino_2021/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.26.0)Requirement already satisfied: urllib3=1.21.1 in /usr/local/lib/python3.8/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (1.26.7)Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.8/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.0.6)Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2019.11.28)Requirement already satisfied: idna=2.5 in /usr/lib/python3/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.8)Installing collected packages: pyyaml  Attempting uninstall: pyyaml    Found existing installation: PyYAML 5.3.1ERROR: Cannot uninstall 'PyYAML'. 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.Error on or near line 149; exiting with status 1   

回帖(1)

刘超

2023-8-15 09:32:52
      
注意OpenVINO 工具套件 2021.4.2 包括对 Ubuntu 20.04 的预览支持,请参阅 发布说明 以了解更多信息。


  • 运行 以下命令以卸载默认的 PyYAML 5.3.1 软件包:

             apt-get purge python3-yaml
             
  • 再次运行演示脚本:

    .//deployment_tools/demo/demo_squeezenet_download_convert_run.sh
举报

更多回帖

发帖
×
20
完善资料,
赚取积分