Back
I'm attempting to install the tensorflow into a Mac with the help of python3.7. But, I'm getting this error.
$ pip3 -v install tensorflow... Skipping link https://files.pythonhosted.org/packages/56/7a/c6bca0fe52a94ca508731d8b139e7dbd5a36cddc64c19f422f97e5a853e8/tensorflow-1.10.0rc1-cp36-cp36m-win_amd64.whl#sha256=3ab24374888d6a13d55ce2e3cf4ba0c9cd6f824723313db5322512087525cb78 (from https://pypi.org/simple/tensorflow/); it is not compatible with this Python Could not find a version that satisfies the requirement tensorflow (from versions: )Cleaning up...Removed build tracker '/private/var/folders/4n/9342s4wd3jv0qzwjz8rxrygr0000gp/T/pip-req-tracker-3p60r2lo'No matching distribution found for tensorflow
$ pip3 -v install tensorflow
...
Skipping link https://files.pythonhosted.org/packages/56/7a/c6bca0fe52a94ca508731d8b139e7dbd5a36cddc64c19f422f97e5a853e8/tensorflow-1.10.0rc1-cp36-cp36m-win_amd64.whl#sha256=3ab24374888d6a13d55ce2e3cf4ba0c9cd6f824723313db5322512087525cb78 (from https://pypi.org/simple/tensorflow/); it is not compatible with this Python
Could not find a version that satisfies the requirement tensorflow (from versions: )
Cleaning up...
Removed build tracker '/private/var/folders/4n/9342s4wd3jv0qzwjz8rxrygr0000gp/T/pip-req-tracker-3p60r2lo'
No matching distribution found for tensorflow
From what I can accumulate this is occurring because that tensorflow doesn't yet support the Python3.7. As a workaround I need to install Python3.6 close by 3.7 and afterward install tensorflow to that version. Be that as it may, I'm new to Mac and not certain about the right method to do this without possibly messing with the prior Python version.
I've also attempted at utilizing brew, yet it would appear that Python3 is pretty much explicit. What is the right method to do the thing I'm pursuing?
Try to use brew,
$ brew unlink python
Then, Try to install the python 3.6.5
$ brew install --ignore-dependencies https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb
Use the below code, if want to revert back to python 3.7.4_1
$ brew switch python 3.7.4_1
If you want the same 3.6, switch with
$ brew switch python 3.6.5_1
Interested to learn the concepts of Python in detail? Come and join the python course to gain more knowledge in Python
Watch this video tutorial, if you want to learn more details about python
31k questions
32.8k answers
501 comments
693 users