使用Anaconda在MacOS上使用OpenVino

使用Anaconda在MacOS上使用OpenVino,macos,conda,openvino,Macos,Conda,Openvino,如何使用Anaconda安装OpenVino。在安装所需的OpenCV和CMake等先决条件下,这是否可能实现 (IntelEnv) ChrNinja@ChrNinja demo % ./demo_squeezenet_download_convert_run.sh target_precision = FP16 [setupvars.sh] OpenVINO environment initialized ##########################################

如何使用Anaconda安装OpenVino。在安装所需的OpenCV和CMake等先决条件下,这是否可能实现

(IntelEnv) ChrNinja@ChrNinja demo % ./demo_squeezenet_download_convert_run.sh
target_precision = FP16
[setupvars.sh] OpenVINO environment initialized


###################################################



Downloading the Caffe model and the prototxt
Installing dependencies
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Processing /Users/christianh/Library/Caches/pip/wheels/a7/c1/ea/cf5bd31012e735dc1dfea3131a2d5eae7978b251083d6247bd/PyYAML-5.3.1-cp27-cp27m-macosx_10_15_x86_64.whl
Collecting requests
  Using cached https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl
Collecting idna<3,>=2.5
 Using cached https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl
Collecting chardet<4,>=3.0.2
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17
  Using cached https://files.pythonhosted.org/packages/57/2b/26e37a4b034800c960a00c4e1b3d9ca5d7014e983e6e729e33ea2f36426c/certifi-2020.4.5.1-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached https://files.pythonhosted.org/packages/e1/e5/df302e8017440f111c11cc41a6b432838672f5a70aa29227bf58149dc72f/urllib3-1.25.9-py2.py3-none-any.whl
Installing collected packages: pyyaml, idna, chardet, certifi, urllib3, requests
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/PyYAML-5.3.1.dist-info'
Consider using the `--user` option or check the permissions.

Error on or near line 150; exiting with status 1
(IntelEnv)ChrNinja@ChrNinja演示%。/demo_squezenet_下载_convert_run.sh
目标精度=FP16
[setupvars.sh]OpenVINO环境已初始化
###################################################
下载Caffe模型和prototxt
安装依赖项
弃用:Python 2.7将于2020年1月1日结束其使用寿命。请升级您的Python,因为Python 2.7将在该日期后不再维护。pip的未来版本将放弃对Python2.7的支持。有关pip中Python 2支持的更多详细信息,请访问https://pip.pypa.io/en/latest/development/release-process/#python-2-支持
处理/用户/christianh/Library/Caches/pip/wheels/a7/c1/ea/CF5BD3102E735DC1DFEA312D5EAE7978B251083D6247BD/PyYAML-5.3.1-cp27-cp27m-macosx_10_15_x86_64.whl
收集请求
使用缓存https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl
收集idna=2.5
使用缓存https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl
收集字符数=3.0.2
使用缓存https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
收款凭证i>=2017.4.17
使用缓存https://files.pythonhosted.org/packages/57/2b/26e37a4b034800c960a00c4e1b3d9ca5d7014e983e6e729e33ea2f36426c/certifi-2020.4.5.1-py2.py3-none-any.whl
收集urllib3=1.25.0,!=1.25.1,=1.21.1
使用缓存https://files.pythonhosted.org/packages/e1/e5/df302e8017440f111c11cc41a6b432838672f5a70aa29227bf58149dc72f/urllib3-1.25.9-py2.py3-none-any.whl
安装收集的包:pyyaml、idna、chardet、certifi、urllib3、requests
错误:由于环境错误,无法安装程序包:[Errno 13]权限被拒绝:'/Library/Python/2.7/site-packages/PyYAML-5.3.1.dist-info'
考虑使用“-Upple”选项或检查权限。
第150行或其附近的错误;以状态1退出
1。将conda更新至最新版本: 康达更新——全部

2.安装OpenVINO的英特尔®发行版™ 工具包: conda安装openvino-ie4py-c openvino

3.安装OpenCV。这是运行示例所必需的: 康达安装opencv

4.验证已安装的软件包: python-c“导入openvino”

1。将conda更新至最新版本: 康达更新——全部

2.安装OpenVINO的英特尔®发行版™ 工具包: conda安装openvino-ie4py-c openvino

3.安装OpenCV。这是运行示例所必需的: 康达安装opencv

4.验证已安装的软件包:
python-c“导入openvino”

是否存在实际问题?你试过什么,做过什么研究吗?请看,。我查找了路径问题并进行了更改,观看了一段关于MacOS anaconda安装的视频,其中此人使用了虚拟环境,并进行了更多研究。CMake现在可以工作,但在Prerequirests安装期间,它会在系统Python2.7中搜索pyyaml。我在Anaconda虚拟环境中使用我的命令,但它仍然引用系统的Python我在Anaconda虚拟环境中使用我的命令,但它仍然引用系统的Python你能分享终端命令和输出吗?@AMC我已经更新了我的问题。shell脚本恢复到Python2.7可以吗?在脚本中,它检查是否安装了Python3.X(它在Anaconda中),但是它仍然使用系统Python。shell脚本恢复到Python2.7可以吗?在脚本中,它检查是否安装了Python3.X(在Anaconda中),但它仍然使用系统Python。对不起,我不太明白你的意思,你能详细说明一下吗?有实际问题吗?你试过什么,做过什么研究吗?请看,。我查找了路径问题并进行了更改,观看了一段关于MacOS anaconda安装的视频,其中此人使用了虚拟环境,并进行了更多研究。CMake现在可以工作,但在Prerequirests安装期间,它会在系统Python2.7中搜索pyyaml。我在Anaconda虚拟环境中使用我的命令,但它仍然引用系统的Python我在Anaconda虚拟环境中使用我的命令,但它仍然引用系统的Python你能分享终端命令和输出吗?@AMC我已经更新了我的问题。shell脚本恢复到Python2.7可以吗?在脚本中,它检查是否安装了Python3.X(它在Anaconda中),但是它仍然使用系统Python。shell脚本恢复到Python2.7可以吗?在脚本中,它检查是否安装了Python3.X(在Anaconda中),但它仍然使用系统Python。对不起,我不太明白你的意思,你能详细说明一下吗?