Proto Compilation Error - No such file or directory
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
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
tensorflow cmd compilation
add a comment |
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
tensorflow cmd compilation
Did you add Libraries to PYTHONPATH: (From tensorflow/models/research/) export PYTHONPATH=$PYTHONPATH:pwd
:pwd
/slim`
– vijay m
Dec 3 '17 at 18:51
Did you try using a backslash `` rather than a forward slash/
for the path to the files?
– lit
Dec 4 '17 at 7:45
@vijaym I think that is for Unix not Windows. ->lit Yes I did. Black slashes won't work.
– Pirate X
Dec 5 '17 at 10:20
add a comment |
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
tensorflow cmd compilation
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
tensorflow cmd compilation
tensorflow cmd compilation
asked Dec 3 '17 at 16:34
Pirate XPirate X
1,62332034
1,62332034
Did you add Libraries to PYTHONPATH: (From tensorflow/models/research/) export PYTHONPATH=$PYTHONPATH:pwd
:pwd
/slim`
– vijay m
Dec 3 '17 at 18:51
Did you try using a backslash `` rather than a forward slash/
for the path to the files?
– lit
Dec 4 '17 at 7:45
@vijaym I think that is for Unix not Windows. ->lit Yes I did. Black slashes won't work.
– Pirate X
Dec 5 '17 at 10:20
add a comment |
Did you add Libraries to PYTHONPATH: (From tensorflow/models/research/) export PYTHONPATH=$PYTHONPATH:pwd
:pwd
/slim`
– vijay m
Dec 3 '17 at 18:51
Did you try using a backslash `` rather than a forward slash/
for the path to the files?
– lit
Dec 4 '17 at 7:45
@vijaym I think that is for Unix not Windows. ->lit Yes I did. Black slashes won't work.
– Pirate X
Dec 5 '17 at 10:20
Did you add Libraries to PYTHONPATH: (From tensorflow/models/research/) export PYTHONPATH=$PYTHONPATH:
pwd
:pwd
/slim`– vijay m
Dec 3 '17 at 18:51
Did you add Libraries to PYTHONPATH: (From tensorflow/models/research/) export PYTHONPATH=$PYTHONPATH:
pwd
:pwd
/slim`– vijay m
Dec 3 '17 at 18:51
Did you try using a backslash `` rather than a forward slash
/
for the path to the files?– lit
Dec 4 '17 at 7:45
Did you try using a backslash `` rather than a forward slash
/
for the path to the files?– lit
Dec 4 '17 at 7:45
@vijaym I think that is for Unix not Windows. ->lit Yes I did. Black slashes won't work.
– Pirate X
Dec 5 '17 at 10:20
@vijaym I think that is for Unix not Windows. ->lit Yes I did. Black slashes won't work.
– Pirate X
Dec 5 '17 at 10:20
add a comment |
3 Answers
3
active
oldest
votes
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
add a comment |
I was running into the same problem using the latest protoc version for windows: 3.5.0. On a whim I tried using the slightly older version (3.4.0) and got it to work using the exact same instructions.
add a comment |
Use 3.4.0 version and run from object_detectionprotoc object_detection/protos/*.proto --python_out=.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47620577%2fproto-compilation-error-no-such-file-or-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
add a comment |
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
add a comment |
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
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
edited Dec 15 '17 at 4:58
answered Dec 14 '17 at 14:19
BowenBowen
898
898
add a comment |
add a comment |
I was running into the same problem using the latest protoc version for windows: 3.5.0. On a whim I tried using the slightly older version (3.4.0) and got it to work using the exact same instructions.
add a comment |
I was running into the same problem using the latest protoc version for windows: 3.5.0. On a whim I tried using the slightly older version (3.4.0) and got it to work using the exact same instructions.
add a comment |
I was running into the same problem using the latest protoc version for windows: 3.5.0. On a whim I tried using the slightly older version (3.4.0) and got it to work using the exact same instructions.
I was running into the same problem using the latest protoc version for windows: 3.5.0. On a whim I tried using the slightly older version (3.4.0) and got it to work using the exact same instructions.
answered Dec 5 '17 at 23:19
Alex GAlex G
11617
11617
add a comment |
add a comment |
Use 3.4.0 version and run from object_detectionprotoc object_detection/protos/*.proto --python_out=.
add a comment |
Use 3.4.0 version and run from object_detectionprotoc object_detection/protos/*.proto --python_out=.
add a comment |
Use 3.4.0 version and run from object_detectionprotoc object_detection/protos/*.proto --python_out=.
Use 3.4.0 version and run from object_detectionprotoc object_detection/protos/*.proto --python_out=.
answered Jan 27 '18 at 9:10
Naresh ReddyNaresh Reddy
211
211
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47620577%2fproto-compilation-error-no-such-file-or-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you add Libraries to PYTHONPATH: (From tensorflow/models/research/) export PYTHONPATH=$PYTHONPATH:
pwd
:pwd
/slim`– vijay m
Dec 3 '17 at 18:51
Did you try using a backslash `` rather than a forward slash
/
for the path to the files?– lit
Dec 4 '17 at 7:45
@vijaym I think that is for Unix not Windows. ->lit Yes I did. Black slashes won't work.
– Pirate X
Dec 5 '17 at 10:20