Explore Courses Blog Tutorials Interview Questions
0 votes
in Python by (16.4k points)

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 (from; 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?

1 Answer

0 votes
by (26.4k points)

Try to use brew,

$ brew unlink python

Then, Try to install the python 3.6.5

$ brew install --ignore-dependencies

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

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Mar 3, 2021 in AWS by devin (5.6k points)
0 votes
1 answer

Browse Categories