原始编译错误-没有这样的文件或目录 [英] Proto Compilation Error - No such file or directory

查看:85
本文介绍了原始编译错误-没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编译Protoc库,但是即使目录不存在,它也一直在给我错误消息



我正在关注



目录和文件显然在这里



解决方案

与您有相同的问题。

我已经用anaconda3安装了协议,但没有用。



这是我的解决方案:

转到协议发布页面并下载protoc-3.4.0-win32.zip,解压缩后,您会在bin目录中找到protoc.exe。



将其移动到models / research文件夹 tensorflow模型项目



接下来,您可以使用protoc命令

  protoc object_detection / protos / *。proto- -python_out =。 

引用链接


I am trying to compile Protoc library but It just keeps giving me the error of No Such Directory even though it is there

I am following Google's Photobuf compilation steps I have added Protoc to PATH environment variable as well.

But it simply won't see the object_detection/protos directory

protoc object_detection/protos/*.proto --python_out=.

The directory and the files are clearly there

解决方案

Same issue with you.
I have been installed protoc with anaconda3,but it is useless.

This is my solution:
Head to the protoc releases page and download the protoc-3.4.0-win32.zip, extract it, and you will find protoc.exe in the bin directory.

Move this to models/research folder tensorflow model project

Next,you can use the protoc command like

protoc object_detection/protos/*.proto --python_out=.

Reference linking

这篇关于原始编译错误-没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆