安装Mediapipe中遇到的问题ERROR: An error occurred during the fetch of repository ‘local_execution_config_pyt
安装Mediapipe中遇到的问题
- WSL安装
- 创建账号密码
- 装mediapipe流程
WSL安装
WSL可在微软应用商店中下载。
创建账号密码
打开Ubuntu会让你创建用户名和密码。
装mediapipe流程
关于这部分流程可以查看这个博主的流程
https://blog.csdn.net/qq_36818449/article/details/103879399
但是在照着博主做的过程中注意,Bazel的版本要是1.1.0的,因为mediapipe现在最多支持1.1.0的Bazel,安装0.27的是不可以运行的。
在流程都运行成功后
// An highlighted block
bazel run --define MEDIAPIPE_DISABLE_GPU=1 \mediapipe/examples/desktop/hello_world:hello_world
在这一部分我开始疯狂报错。
// An highlighted block
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':Traceback (most recent call last):File "C:/users/username/_bazel_username/zbffnwmd/external/org_tensorflow/third_party/py/python_configure.bzl", line 210 _get_python_lib(repository_ctx, <1 more arguments>)File "C:/users/username/_bazel_username/zbffnwmd/external/org_tensorflow/third_party/py/python_configure.bzl", line 130, in _get_python_libexecute(repository_ctx, <1 more arguments>)File "C:/users/username/_bazel_username/zbffnwmd/external/org_tensorflow/third_party/remote_config/common.bzl", line 208, in executefail(<1 more arguments>)
Repository command failed
File "<string>", line 1
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
查看是否安装numpy和python3并且,运行以下代码:
// An highlighted block
echo $PYTHON_BIN_PATH
export PYTHON_BIN_PATH=/usr/bin/python3
$PYTHON_BIN_PATH -c 'import numpy'
最后就可以成功运行helloword那部分了:
// An highlighted block
Target //mediapipe/examples/desktop/hello_world:hello_world up-to-date:bazel-bin/mediapipe/examples/desktop/hello_world/hello_world
INFO: Elapsed time: 0.467s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/mediapipe/examples/desktop/hello_world/INFO: Build completed successfully, 1 total action
I20201104 09:18:22.609808 3170 hello_world.cc:56] Hello World!
I20201104 09:18:22.611129 3170 hello_world.cc:56] Hello World!
I20201104 09:18:22.611586 3170 hello_world.cc:56] Hello World!
I20201104 09:18:22.612054 3170 hello_world.cc:56] Hello World!
I20201104 09:18:22.612463 3170 hello_world.cc:56] Hello World!
I20201104 09:18:22.612954 3170 hello_world.cc:56] Hello World!
I20201104 09:18:22.613397 3170 hello_world.cc:56] Hello World!
I20201104 09:18:22.613579 3170 hello_world.cc:56] Hello World!
I20201104 09:18:22.614965 3170 hello_world.cc:56] Hello World!
I20201104 09:18:22.616818 3170 hello_world.cc:56] Hello World!
在安装过程中遇到不少问题,这个困扰我好久,如果有什么别的问题或者安装包,也可以联系我。
安装Mediapipe中遇到的问题ERROR: An error occurred during the fetch of repository ‘local_execution_config_pyt相关推荐
- PS CC2019 安装过程中遇到 Command line option syntax error. Type Command /? for Help.
背景前言: 昨天买了一块高漫WH850 的数位板[手绘板],板子都买了.肯定要安装PSCC 2019 了.但是在安装过程中遇到一个问题 那就是Command line option syntax er ...
- Mac用Pycharm安装mediapipe报错ERROR: Could not find a version that satisfies the requirement mediapipe
问题 因为最近要用python做一个手部检测的项目,于是用找了个开源的程序跑了跑,发现安装mediapipe的时候会报错 ERROR: Could not find a version that sa ...
- rac安装过程中 error while loading shared libraries libpthread.so.0 问题的解决
rac安装过程中 error while loading shared libraries libpthread.so.0 问题的解决 2010-08-28 23:10 在CentOS 5上安装Ora ...
- ERROR CODE:0X8007000D Microsoft Office 2010在安装过程中出错 解决方法
Microsoft Office 2010在安装过程中出错 解决方法 XP系统安装OFFICE 2010过程中遇到进度条回滚后提示:"Microsoft Office 2010在安装过程中出 ...
- 处理安装过程中的ERROR 1935
在安装软件的时候遇到ERROR: Error 1935.An error occurred during the installation of assembly 'Microsoft.VC80.AT ...
- 技术笔记Android应用MediaPipe(一):Windows安装MediaPipe
一.MediaPipe概述 MediaPipe提供跨平台,为实时流媒体提供自定义的机器学习解决方案的应用框架.MediaPipe的主要特点: (1)端对端的加速:内置快速机器学习推理和处理,使得在普通 ...
- 解决Linux安装过程中不能安装Grub的问题
参考,部分转载和万分感谢:解决Linux安装过程中不能安装Grub的问题 关卡1: 从前段时间折腾了很久,刚开始是因为/boot区已经占满了,那么为什么会占满呢?因为当时尝试初次手动分区,然后参考了网 ...
- WSL(windows subsystem for linux)安装错误:安装过程中遇到错误,但可以继续安装。组件: ‘WSL 内核‘ 错误代码: 0x80072f78解决方法
文章目录 问题来源 解决 参考 问题来源 使用管理员身份打开powershell,输入 wsl --install 之后等待安装: 结果,出现如下问题: PS C:\WINDOWS\system32& ...
- 重新安装mysql5.7.21_linux 安装mysql 5.7.21详解以及安装过程中所遇问题解决
在安装过程中所遇到的问题有: 1.my-default.cnf文件找不到 2.mysql启动报错 3.mysql临时密码无法登录 安装环境centos 6.0 下载数据库: [root@CLangua ...
- MFC80.DLL复制到程序目录中,也有的说复制到安装目录中
在用VS2005学习C++调试程序的时候,按F5键,总提示这个问题, 不晓得什么原因,网上有的说找到MFC80.DLL复制到程序目录中,也有的说复制到安装目录中,可结果很失望,也有的VS2005安装有 ...
最新文章
- 项目安排(离散化+DP)
- python requests cookies请求_python的requests库怎么发送带cookies的请求
- Leetcode周赛复盘——第 71 场力扣双周赛与第 279 场力扣周赛
- LeetCode 1913. 两个数对之间的最大乘积差
- ExpandableListActivity列表嵌套列表
- 您可能在2017年期待JavaScript会议
- Android TextView 带背景的文字垂直方向显示(ems属性)
- iptables time 时间匹配规则
- iis启动服务时提示在本地计算机 无法启动iis admin服务,无法启动IIS Express Web服务器...
- linux版本i686,在Ubuntu中'i686'是什么意思? - Ubuntu问答
- mysql的升序和降序
- Font shape `TU/ptm/m/n' undefined(Font) using `TU/lmr/m/n' instead
- http下载异常_用了这么久HTTP, 你是否了解Content-Length?
- 彻底理解nth-child和nth-of-type的区别
- Endnote无法正确识别引文
- newt.h:没有那个文件或目录
- 会签 数据库表设计_关于OA流程相关数据表的设计
- 数字电子钟的设计与制作
- 腾讯ISUX:精益设计 “纸上谈兵”的说服力
- VUE-使用element实现图片预览功能