Upgrade protobuf leeds to warning with tensorflow











up vote
0
down vote

favorite












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










share|improve this question


















  • 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
    2 days ago










  • 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
    16 hours ago

















up vote
0
down vote

favorite












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










share|improve this question


















  • 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
    2 days ago










  • 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
    16 hours ago















up vote
0
down vote

favorite









up vote
0
down vote

favorite











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










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









programmar

5811




5811








  • 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
    2 days ago










  • 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
    16 hours ago
















  • 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
    2 days ago










  • 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
    16 hours ago










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
2 days ago




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
2 days ago












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
16 hours ago






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
16 hours ago



















active

oldest

votes











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',
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
});


}
});














 

draft saved


draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

What visual should I use to simply compare current year value vs last year in Power BI desktop

Alexandru Averescu

Trompette piccolo