Upgrade protobuf leeds to warning with tensorflow
Here is what I found out so far. Upgrading protobuf leads to this:
$ pip3 install --upgrade protobuf
Collecting protobuf
Using cached https://files.pythonhosted.org/packages/18/e7/785830a65d1f1faba7dccfa8314f7afded1db8cc2860218226ba4b3f6150/protobuf-3.6.1-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Requirement already satisfied, skipping upgrade: setuptools in /usr/local/lib/python3.7/site-packages (from protobuf) (40.5.0)
Requirement already satisfied, skipping upgrade: six>=1.9 in /usr/local/lib/python3.7/site-packages (from protobuf) (1.11.0)
tensorflow 0.12.0 has requirement protobuf==3.1.0, but you'll have protobuf 3.6.1 which is incompatible.
Installing collected packages: protobuf
Found existing installation: protobuf 3.1.0
Uninstalling protobuf-3.1.0:
Successfully uninstalled protobuf-3.1.0
Successfully installed protobuf-3.6.1
In short: tensorflow 0.12.0 has requirement protobuf==3.1.0
.
Why does the newest tensorflow version needs and old protobuf version?
But this is even weirder:
$ pip3 install --upgrade tensorflow
...
tensorboard 1.12.0 has requirement protobuf>=3.4.0
Is my conclusion correct? tensorflow and tensorboard need different versions of protobuf? how? what am I missing out?
I found a similar bug but I didn't understand it completely. Something with Mac Operation System and cpython. Link to issue: https://github.com/google/or-tools/issues/681
I use macOS and I've installed python with Homebrew.
Will it help me to install an older python version?
I am searching for an explanation and solutions.
Thank you
python tensorflow pip
add a comment |
Here is what I found out so far. Upgrading protobuf leads to this:
$ pip3 install --upgrade protobuf
Collecting protobuf
Using cached https://files.pythonhosted.org/packages/18/e7/785830a65d1f1faba7dccfa8314f7afded1db8cc2860218226ba4b3f6150/protobuf-3.6.1-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Requirement already satisfied, skipping upgrade: setuptools in /usr/local/lib/python3.7/site-packages (from protobuf) (40.5.0)
Requirement already satisfied, skipping upgrade: six>=1.9 in /usr/local/lib/python3.7/site-packages (from protobuf) (1.11.0)
tensorflow 0.12.0 has requirement protobuf==3.1.0, but you'll have protobuf 3.6.1 which is incompatible.
Installing collected packages: protobuf
Found existing installation: protobuf 3.1.0
Uninstalling protobuf-3.1.0:
Successfully uninstalled protobuf-3.1.0
Successfully installed protobuf-3.6.1
In short: tensorflow 0.12.0 has requirement protobuf==3.1.0
.
Why does the newest tensorflow version needs and old protobuf version?
But this is even weirder:
$ pip3 install --upgrade tensorflow
...
tensorboard 1.12.0 has requirement protobuf>=3.4.0
Is my conclusion correct? tensorflow and tensorboard need different versions of protobuf? how? what am I missing out?
I found a similar bug but I didn't understand it completely. Something with Mac Operation System and cpython. Link to issue: https://github.com/google/or-tools/issues/681
I use macOS and I've installed python with Homebrew.
Will it help me to install an older python version?
I am searching for an explanation and solutions.
Thank you
python tensorflow pip
1
Don't confuse TensorFlow 0.12.0 with TensorFlow 1.12.0. TensorFlow 0.12.0 is very old. TensorFlow 1.12.0 requires protobuf >=3.6.1
– William D. Irons
Nov 22 '18 at 1:38
thanks. But how come pip cannot find 1.12.0 ? output: Collecting tensorflow==1.12.0 Could not find a version that satisfies the requirement tensorflow==1.12.0 (from versions: ) No matching distribution found for tensorflow==1.12.0
– programmar
Nov 23 '18 at 12:35
add a comment |
Here is what I found out so far. Upgrading protobuf leads to this:
$ pip3 install --upgrade protobuf
Collecting protobuf
Using cached https://files.pythonhosted.org/packages/18/e7/785830a65d1f1faba7dccfa8314f7afded1db8cc2860218226ba4b3f6150/protobuf-3.6.1-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Requirement already satisfied, skipping upgrade: setuptools in /usr/local/lib/python3.7/site-packages (from protobuf) (40.5.0)
Requirement already satisfied, skipping upgrade: six>=1.9 in /usr/local/lib/python3.7/site-packages (from protobuf) (1.11.0)
tensorflow 0.12.0 has requirement protobuf==3.1.0, but you'll have protobuf 3.6.1 which is incompatible.
Installing collected packages: protobuf
Found existing installation: protobuf 3.1.0
Uninstalling protobuf-3.1.0:
Successfully uninstalled protobuf-3.1.0
Successfully installed protobuf-3.6.1
In short: tensorflow 0.12.0 has requirement protobuf==3.1.0
.
Why does the newest tensorflow version needs and old protobuf version?
But this is even weirder:
$ pip3 install --upgrade tensorflow
...
tensorboard 1.12.0 has requirement protobuf>=3.4.0
Is my conclusion correct? tensorflow and tensorboard need different versions of protobuf? how? what am I missing out?
I found a similar bug but I didn't understand it completely. Something with Mac Operation System and cpython. Link to issue: https://github.com/google/or-tools/issues/681
I use macOS and I've installed python with Homebrew.
Will it help me to install an older python version?
I am searching for an explanation and solutions.
Thank you
python tensorflow pip
Here is what I found out so far. Upgrading protobuf leads to this:
$ pip3 install --upgrade protobuf
Collecting protobuf
Using cached https://files.pythonhosted.org/packages/18/e7/785830a65d1f1faba7dccfa8314f7afded1db8cc2860218226ba4b3f6150/protobuf-3.6.1-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Requirement already satisfied, skipping upgrade: setuptools in /usr/local/lib/python3.7/site-packages (from protobuf) (40.5.0)
Requirement already satisfied, skipping upgrade: six>=1.9 in /usr/local/lib/python3.7/site-packages (from protobuf) (1.11.0)
tensorflow 0.12.0 has requirement protobuf==3.1.0, but you'll have protobuf 3.6.1 which is incompatible.
Installing collected packages: protobuf
Found existing installation: protobuf 3.1.0
Uninstalling protobuf-3.1.0:
Successfully uninstalled protobuf-3.1.0
Successfully installed protobuf-3.6.1
In short: tensorflow 0.12.0 has requirement protobuf==3.1.0
.
Why does the newest tensorflow version needs and old protobuf version?
But this is even weirder:
$ pip3 install --upgrade tensorflow
...
tensorboard 1.12.0 has requirement protobuf>=3.4.0
Is my conclusion correct? tensorflow and tensorboard need different versions of protobuf? how? what am I missing out?
I found a similar bug but I didn't understand it completely. Something with Mac Operation System and cpython. Link to issue: https://github.com/google/or-tools/issues/681
I use macOS and I've installed python with Homebrew.
Will it help me to install an older python version?
I am searching for an explanation and solutions.
Thank you
python tensorflow pip
python tensorflow pip
asked Nov 21 '18 at 18:09
programmarprogrammar
6611
6611
1
Don't confuse TensorFlow 0.12.0 with TensorFlow 1.12.0. TensorFlow 0.12.0 is very old. TensorFlow 1.12.0 requires protobuf >=3.6.1
– William D. Irons
Nov 22 '18 at 1:38
thanks. But how come pip cannot find 1.12.0 ? output: Collecting tensorflow==1.12.0 Could not find a version that satisfies the requirement tensorflow==1.12.0 (from versions: ) No matching distribution found for tensorflow==1.12.0
– programmar
Nov 23 '18 at 12:35
add a comment |
1
Don't confuse TensorFlow 0.12.0 with TensorFlow 1.12.0. TensorFlow 0.12.0 is very old. TensorFlow 1.12.0 requires protobuf >=3.6.1
– William D. Irons
Nov 22 '18 at 1:38
thanks. But how come pip cannot find 1.12.0 ? output: Collecting tensorflow==1.12.0 Could not find a version that satisfies the requirement tensorflow==1.12.0 (from versions: ) No matching distribution found for tensorflow==1.12.0
– programmar
Nov 23 '18 at 12:35
1
1
Don't confuse TensorFlow 0.12.0 with TensorFlow 1.12.0. TensorFlow 0.12.0 is very old. TensorFlow 1.12.0 requires protobuf >=3.6.1
– William D. Irons
Nov 22 '18 at 1:38
Don't confuse TensorFlow 0.12.0 with TensorFlow 1.12.0. TensorFlow 0.12.0 is very old. TensorFlow 1.12.0 requires protobuf >=3.6.1
– William D. Irons
Nov 22 '18 at 1:38
thanks. But how come pip cannot find 1.12.0 ? output: Collecting tensorflow==1.12.0 Could not find a version that satisfies the requirement tensorflow==1.12.0 (from versions: ) No matching distribution found for tensorflow==1.12.0
– programmar
Nov 23 '18 at 12:35
thanks. But how come pip cannot find 1.12.0 ? output: Collecting tensorflow==1.12.0 Could not find a version that satisfies the requirement tensorflow==1.12.0 (from versions: ) No matching distribution found for tensorflow==1.12.0
– programmar
Nov 23 '18 at 12:35
add a comment |
1 Answer
1
active
oldest
votes
Turns out Tensorflow doesn’t support the newest version of python. Pip cannot find the newest version of Tensorflow for python 3.7.
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%2f53418168%2fupgrade-protobuf-leeds-to-warning-with-tensorflow%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Turns out Tensorflow doesn’t support the newest version of python. Pip cannot find the newest version of Tensorflow for python 3.7.
add a comment |
Turns out Tensorflow doesn’t support the newest version of python. Pip cannot find the newest version of Tensorflow for python 3.7.
add a comment |
Turns out Tensorflow doesn’t support the newest version of python. Pip cannot find the newest version of Tensorflow for python 3.7.
Turns out Tensorflow doesn’t support the newest version of python. Pip cannot find the newest version of Tensorflow for python 3.7.
answered Nov 27 '18 at 15:20
programmarprogrammar
6611
6611
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f53418168%2fupgrade-protobuf-leeds-to-warning-with-tensorflow%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
1
Don't confuse TensorFlow 0.12.0 with TensorFlow 1.12.0. TensorFlow 0.12.0 is very old. TensorFlow 1.12.0 requires protobuf >=3.6.1
– William D. Irons
Nov 22 '18 at 1:38
thanks. But how come pip cannot find 1.12.0 ? output: Collecting tensorflow==1.12.0 Could not find a version that satisfies the requirement tensorflow==1.12.0 (from versions: ) No matching distribution found for tensorflow==1.12.0
– programmar
Nov 23 '18 at 12:35