-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note requirement for pip 20.3+ on macOS 11 #1826
Note requirement for pip 20.3+ on macOS 11 #1826
Conversation
With pip <20.3 (which is expected on macOS, because `python@3.8` only includes pip 20.2.4), installation fails with "No matching distribution found for tensorflow". Underlying cause is the lack of TensorFlow packages tagged as `macosx_11`: tensorflow/tensorflow#45120 pip 20.3+ changes behavior to allow `macosx_10` packages on macOS 11: pypa/pip#9138
site/en/install/_index.yaml
Outdated
@@ -39,7 +39,7 @@ landing_page: | |||
- heading: Download a package | |||
description: > | |||
<p>Install TensorFlow with Python's <em>pip</em> package manager.</p> | |||
<aside class="note">TensorFlow 2 packages require a <code>pip</code> version >19.0.</aside> | |||
<aside class="note">TensorFlow 2 packages require a <code>pip</code> version >20.3 when running on macOS 11, or >19.0 on all other systems.</aside> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically it should be >=20.3, as 20.3 is sufficient
(I wonder whether this is also true for the ">19.0")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this is indicated on pip-specific page and should follow here. Ideally, that's the page with the more exhaustive requirements and this provides the "high level" for folks that don't click through
With pip <20.3 (which is expected on macOS, because
python@3.8
only includes pip 20.2.4), installation fails with "No matching distribution found for tensorflow".Underlying cause is the lack of TensorFlow packages tagged as
macosx_11
: tensorflow/tensorflow#45120pip 20.3+ changes behavior to allow
macosx_10
packages on macOS 11: pypa/pip#9138