Mac OS High Sierra: Tensorflow verions returned by `pip3 upgrade ` and `python3 -c 'import tensorflow as tf; print(tf.__version__)'` differ
I am currently getting the error, TypeError: softmax() got an unexpected keyword argument 'axis'
.
It seems this error is common if you don't have up-to-date keras/tensorflow.
I checked what version of tensorflow I have with python3 -c 'import tensorflow as tf; print(tf.__version__)'
It returned 0.12.0
which indeed looks out of date.
However, when I try to upgrade tensorflow, with pip3 install tensorflow --upgrade
I get
Requirement already up-to-date: tensorflow in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(0.12.0) Requirement already satisfied, skipping upgrade:
numpy>=1.11.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages(from
tensorflow) (1.15.3) Requirement already satisfied, skipping upgrade:
protobuf==3.1.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (3.1.0) Requirement already satisfied, skipping
upgrade: six>=1.10.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (1.11.0) Requirement already satisfied, skipping
upgrade: wheel>=0.26 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (0.32.2) Requirement already satisfied, skipping
upgrade: setuptools in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from protobuf==3.1.0->tensorflow) (39.0.1)
I tried to force the update with pip3 install --ignore-installed --upgrade tensorflow
but got:
Collecting tensorflow Could not find a version that satisfies the
requirement tensorflow (from versions: ) No matching distribution
found for tensorflow
When I tried to upgrade with python3 -m pip install tensorflow --upgrade
:
Requirement already up-to-date: tensorflow in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.12.0)
Requirement already satisfied, skipping upgrade: wheel>=0.26 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (0.32.2)
Requirement already satisfied, skipping upgrade: protobuf==3.1.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (3.1.0)
Requirement already satisfied, skipping upgrade: numpy>=1.11.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages(from tensorflow) (1.15.3)
Requirement already satisfied, skipping upgrade: six>=1.10.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (1.11.0)
Requirement already satisfied, skipping upgrade: setuptools in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from protobuf==3.1.0->tensorflow) (39.0.1)
When I print sys.path in my program, I get:
['/Users/myname/topdirect', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages']
pip3 show tensorflow
I get:
Name: tensorflow
Version: 0.12.0
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email: opensource@google.com
License: Apache 2.0
Location: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
Requires: six, protobuf, numpy, wheel
Required-by:
python python-3.x tensorflow pip
|
show 2 more comments
I am currently getting the error, TypeError: softmax() got an unexpected keyword argument 'axis'
.
It seems this error is common if you don't have up-to-date keras/tensorflow.
I checked what version of tensorflow I have with python3 -c 'import tensorflow as tf; print(tf.__version__)'
It returned 0.12.0
which indeed looks out of date.
However, when I try to upgrade tensorflow, with pip3 install tensorflow --upgrade
I get
Requirement already up-to-date: tensorflow in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(0.12.0) Requirement already satisfied, skipping upgrade:
numpy>=1.11.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages(from
tensorflow) (1.15.3) Requirement already satisfied, skipping upgrade:
protobuf==3.1.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (3.1.0) Requirement already satisfied, skipping
upgrade: six>=1.10.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (1.11.0) Requirement already satisfied, skipping
upgrade: wheel>=0.26 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (0.32.2) Requirement already satisfied, skipping
upgrade: setuptools in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from protobuf==3.1.0->tensorflow) (39.0.1)
I tried to force the update with pip3 install --ignore-installed --upgrade tensorflow
but got:
Collecting tensorflow Could not find a version that satisfies the
requirement tensorflow (from versions: ) No matching distribution
found for tensorflow
When I tried to upgrade with python3 -m pip install tensorflow --upgrade
:
Requirement already up-to-date: tensorflow in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.12.0)
Requirement already satisfied, skipping upgrade: wheel>=0.26 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (0.32.2)
Requirement already satisfied, skipping upgrade: protobuf==3.1.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (3.1.0)
Requirement already satisfied, skipping upgrade: numpy>=1.11.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages(from tensorflow) (1.15.3)
Requirement already satisfied, skipping upgrade: six>=1.10.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (1.11.0)
Requirement already satisfied, skipping upgrade: setuptools in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from protobuf==3.1.0->tensorflow) (39.0.1)
When I print sys.path in my program, I get:
['/Users/myname/topdirect', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages']
pip3 show tensorflow
I get:
Name: tensorflow
Version: 0.12.0
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email: opensource@google.com
License: Apache 2.0
Location: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
Requires: six, protobuf, numpy, wheel
Required-by:
python python-3.x tensorflow pip
1
Did you install tensorflow with pip3 or in some other way? These error probably mean that you have more than one place where Python libraries go. Try printing sys.path from python3 and check if it corresponds to where pip3 installs go.
– Ashalynd
Nov 11 '18 at 22:34
Always usepython3 -m pip
, thepip3
script may have a different environment.
– o11c
Nov 11 '18 at 22:42
@o11c usepython3 -m pip
in place of what? which line?
– Matt
Nov 11 '18 at 23:26
1
Possible duplicate of Can't install Tensorflow Mac
– hoefling
Nov 12 '18 at 10:03
Tensorflow>1.0 doesn't work with Python 3.7 yet. Either switch to Python 3.6, or stick with the 0.12 for the moment being.
– hoefling
Nov 12 '18 at 10:04
|
show 2 more comments
I am currently getting the error, TypeError: softmax() got an unexpected keyword argument 'axis'
.
It seems this error is common if you don't have up-to-date keras/tensorflow.
I checked what version of tensorflow I have with python3 -c 'import tensorflow as tf; print(tf.__version__)'
It returned 0.12.0
which indeed looks out of date.
However, when I try to upgrade tensorflow, with pip3 install tensorflow --upgrade
I get
Requirement already up-to-date: tensorflow in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(0.12.0) Requirement already satisfied, skipping upgrade:
numpy>=1.11.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages(from
tensorflow) (1.15.3) Requirement already satisfied, skipping upgrade:
protobuf==3.1.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (3.1.0) Requirement already satisfied, skipping
upgrade: six>=1.10.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (1.11.0) Requirement already satisfied, skipping
upgrade: wheel>=0.26 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (0.32.2) Requirement already satisfied, skipping
upgrade: setuptools in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from protobuf==3.1.0->tensorflow) (39.0.1)
I tried to force the update with pip3 install --ignore-installed --upgrade tensorflow
but got:
Collecting tensorflow Could not find a version that satisfies the
requirement tensorflow (from versions: ) No matching distribution
found for tensorflow
When I tried to upgrade with python3 -m pip install tensorflow --upgrade
:
Requirement already up-to-date: tensorflow in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.12.0)
Requirement already satisfied, skipping upgrade: wheel>=0.26 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (0.32.2)
Requirement already satisfied, skipping upgrade: protobuf==3.1.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (3.1.0)
Requirement already satisfied, skipping upgrade: numpy>=1.11.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages(from tensorflow) (1.15.3)
Requirement already satisfied, skipping upgrade: six>=1.10.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (1.11.0)
Requirement already satisfied, skipping upgrade: setuptools in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from protobuf==3.1.0->tensorflow) (39.0.1)
When I print sys.path in my program, I get:
['/Users/myname/topdirect', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages']
pip3 show tensorflow
I get:
Name: tensorflow
Version: 0.12.0
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email: opensource@google.com
License: Apache 2.0
Location: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
Requires: six, protobuf, numpy, wheel
Required-by:
python python-3.x tensorflow pip
I am currently getting the error, TypeError: softmax() got an unexpected keyword argument 'axis'
.
It seems this error is common if you don't have up-to-date keras/tensorflow.
I checked what version of tensorflow I have with python3 -c 'import tensorflow as tf; print(tf.__version__)'
It returned 0.12.0
which indeed looks out of date.
However, when I try to upgrade tensorflow, with pip3 install tensorflow --upgrade
I get
Requirement already up-to-date: tensorflow in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(0.12.0) Requirement already satisfied, skipping upgrade:
numpy>=1.11.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages(from
tensorflow) (1.15.3) Requirement already satisfied, skipping upgrade:
protobuf==3.1.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (3.1.0) Requirement already satisfied, skipping
upgrade: six>=1.10.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (1.11.0) Requirement already satisfied, skipping
upgrade: wheel>=0.26 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from tensorflow) (0.32.2) Requirement already satisfied, skipping
upgrade: setuptools in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from protobuf==3.1.0->tensorflow) (39.0.1)
I tried to force the update with pip3 install --ignore-installed --upgrade tensorflow
but got:
Collecting tensorflow Could not find a version that satisfies the
requirement tensorflow (from versions: ) No matching distribution
found for tensorflow
When I tried to upgrade with python3 -m pip install tensorflow --upgrade
:
Requirement already up-to-date: tensorflow in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.12.0)
Requirement already satisfied, skipping upgrade: wheel>=0.26 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (0.32.2)
Requirement already satisfied, skipping upgrade: protobuf==3.1.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (3.1.0)
Requirement already satisfied, skipping upgrade: numpy>=1.11.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages(from tensorflow) (1.15.3)
Requirement already satisfied, skipping upgrade: six>=1.10.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (1.11.0)
Requirement already satisfied, skipping upgrade: setuptools in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from protobuf==3.1.0->tensorflow) (39.0.1)
When I print sys.path in my program, I get:
['/Users/myname/topdirect', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages']
pip3 show tensorflow
I get:
Name: tensorflow
Version: 0.12.0
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email: opensource@google.com
License: Apache 2.0
Location: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
Requires: six, protobuf, numpy, wheel
Required-by:
python python-3.x tensorflow pip
python python-3.x tensorflow pip
edited Nov 11 '18 at 23:29
Matt
asked Nov 11 '18 at 22:31
MattMatt
4941824
4941824
1
Did you install tensorflow with pip3 or in some other way? These error probably mean that you have more than one place where Python libraries go. Try printing sys.path from python3 and check if it corresponds to where pip3 installs go.
– Ashalynd
Nov 11 '18 at 22:34
Always usepython3 -m pip
, thepip3
script may have a different environment.
– o11c
Nov 11 '18 at 22:42
@o11c usepython3 -m pip
in place of what? which line?
– Matt
Nov 11 '18 at 23:26
1
Possible duplicate of Can't install Tensorflow Mac
– hoefling
Nov 12 '18 at 10:03
Tensorflow>1.0 doesn't work with Python 3.7 yet. Either switch to Python 3.6, or stick with the 0.12 for the moment being.
– hoefling
Nov 12 '18 at 10:04
|
show 2 more comments
1
Did you install tensorflow with pip3 or in some other way? These error probably mean that you have more than one place where Python libraries go. Try printing sys.path from python3 and check if it corresponds to where pip3 installs go.
– Ashalynd
Nov 11 '18 at 22:34
Always usepython3 -m pip
, thepip3
script may have a different environment.
– o11c
Nov 11 '18 at 22:42
@o11c usepython3 -m pip
in place of what? which line?
– Matt
Nov 11 '18 at 23:26
1
Possible duplicate of Can't install Tensorflow Mac
– hoefling
Nov 12 '18 at 10:03
Tensorflow>1.0 doesn't work with Python 3.7 yet. Either switch to Python 3.6, or stick with the 0.12 for the moment being.
– hoefling
Nov 12 '18 at 10:04
1
1
Did you install tensorflow with pip3 or in some other way? These error probably mean that you have more than one place where Python libraries go. Try printing sys.path from python3 and check if it corresponds to where pip3 installs go.
– Ashalynd
Nov 11 '18 at 22:34
Did you install tensorflow with pip3 or in some other way? These error probably mean that you have more than one place where Python libraries go. Try printing sys.path from python3 and check if it corresponds to where pip3 installs go.
– Ashalynd
Nov 11 '18 at 22:34
Always use
python3 -m pip
, the pip3
script may have a different environment.– o11c
Nov 11 '18 at 22:42
Always use
python3 -m pip
, the pip3
script may have a different environment.– o11c
Nov 11 '18 at 22:42
@o11c use
python3 -m pip
in place of what? which line?– Matt
Nov 11 '18 at 23:26
@o11c use
python3 -m pip
in place of what? which line?– Matt
Nov 11 '18 at 23:26
1
1
Possible duplicate of Can't install Tensorflow Mac
– hoefling
Nov 12 '18 at 10:03
Possible duplicate of Can't install Tensorflow Mac
– hoefling
Nov 12 '18 at 10:03
Tensorflow>1.0 doesn't work with Python 3.7 yet. Either switch to Python 3.6, or stick with the 0.12 for the moment being.
– hoefling
Nov 12 '18 at 10:04
Tensorflow>1.0 doesn't work with Python 3.7 yet. Either switch to Python 3.6, or stick with the 0.12 for the moment being.
– hoefling
Nov 12 '18 at 10:04
|
show 2 more comments
1 Answer
1
active
oldest
votes
First of all, I would recommend using anaconda environment to manage your tensorflow version. On the other side, you need to add your operating system to make the question more clear.
updated the question with my os. do you have more information about how i would use anaconda to resolve my problem? perhaps tests for me to try? or a way to upgrade tensorflow using anaconda?
– Matt
Nov 11 '18 at 23:33
Oh...for Mac...if you do want to use GPU for acceleration, I think anaconda is good.
– monkeyking9528
Nov 13 '18 at 2:37
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%2f53253905%2fmac-os-high-sierra-tensorflow-verions-returned-by-pip3-upgrade-and-python3%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
First of all, I would recommend using anaconda environment to manage your tensorflow version. On the other side, you need to add your operating system to make the question more clear.
updated the question with my os. do you have more information about how i would use anaconda to resolve my problem? perhaps tests for me to try? or a way to upgrade tensorflow using anaconda?
– Matt
Nov 11 '18 at 23:33
Oh...for Mac...if you do want to use GPU for acceleration, I think anaconda is good.
– monkeyking9528
Nov 13 '18 at 2:37
add a comment |
First of all, I would recommend using anaconda environment to manage your tensorflow version. On the other side, you need to add your operating system to make the question more clear.
updated the question with my os. do you have more information about how i would use anaconda to resolve my problem? perhaps tests for me to try? or a way to upgrade tensorflow using anaconda?
– Matt
Nov 11 '18 at 23:33
Oh...for Mac...if you do want to use GPU for acceleration, I think anaconda is good.
– monkeyking9528
Nov 13 '18 at 2:37
add a comment |
First of all, I would recommend using anaconda environment to manage your tensorflow version. On the other side, you need to add your operating system to make the question more clear.
First of all, I would recommend using anaconda environment to manage your tensorflow version. On the other side, you need to add your operating system to make the question more clear.
answered Nov 11 '18 at 22:56
monkeyking9528monkeyking9528
262
262
updated the question with my os. do you have more information about how i would use anaconda to resolve my problem? perhaps tests for me to try? or a way to upgrade tensorflow using anaconda?
– Matt
Nov 11 '18 at 23:33
Oh...for Mac...if you do want to use GPU for acceleration, I think anaconda is good.
– monkeyking9528
Nov 13 '18 at 2:37
add a comment |
updated the question with my os. do you have more information about how i would use anaconda to resolve my problem? perhaps tests for me to try? or a way to upgrade tensorflow using anaconda?
– Matt
Nov 11 '18 at 23:33
Oh...for Mac...if you do want to use GPU for acceleration, I think anaconda is good.
– monkeyking9528
Nov 13 '18 at 2:37
updated the question with my os. do you have more information about how i would use anaconda to resolve my problem? perhaps tests for me to try? or a way to upgrade tensorflow using anaconda?
– Matt
Nov 11 '18 at 23:33
updated the question with my os. do you have more information about how i would use anaconda to resolve my problem? perhaps tests for me to try? or a way to upgrade tensorflow using anaconda?
– Matt
Nov 11 '18 at 23:33
Oh...for Mac...if you do want to use GPU for acceleration, I think anaconda is good.
– monkeyking9528
Nov 13 '18 at 2:37
Oh...for Mac...if you do want to use GPU for acceleration, I think anaconda is good.
– monkeyking9528
Nov 13 '18 at 2:37
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%2f53253905%2fmac-os-high-sierra-tensorflow-verions-returned-by-pip3-upgrade-and-python3%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
Did you install tensorflow with pip3 or in some other way? These error probably mean that you have more than one place where Python libraries go. Try printing sys.path from python3 and check if it corresponds to where pip3 installs go.
– Ashalynd
Nov 11 '18 at 22:34
Always use
python3 -m pip
, thepip3
script may have a different environment.– o11c
Nov 11 '18 at 22:42
@o11c use
python3 -m pip
in place of what? which line?– Matt
Nov 11 '18 at 23:26
1
Possible duplicate of Can't install Tensorflow Mac
– hoefling
Nov 12 '18 at 10:03
Tensorflow>1.0 doesn't work with Python 3.7 yet. Either switch to Python 3.6, or stick with the 0.12 for the moment being.
– hoefling
Nov 12 '18 at 10:04