Upgrade pip version
See original GitHub issueWe are facing an issue when installing tfx
package through pip3 from inside the container (version 9.0.3):
# pip3 install tfx
Collecting tfx
Downloading https://files.pythonhosted.org/packages/27/ef/07522116d0680934ade5622322af06ed55d9820c3c23a7d97b62db1438db/tfx-0.15.0-py3-none-any.whl (504kB)
100% |████████████████████████████████| 512kB 2.2MB/s
Collecting tensorflow<3,>=1.15 (from tfx)
Could not find a version that satisfies the requirement tensorflow<3,>=1.15 (from tfx) (from versions: 0.12.1, 1.0.0, 1.0.1, 1.1.0rc0, 1.1.0rc1, 1.1.0rc2, 1.1.0, 1.2.0rc0, 1.2.0rc1, 1.2.0rc2, 1.2.0, 1.2.1, 1.3.0rc0, 1.3.0rc1, 1.3.0rc2, 1.3.0, 1.4.0rc0, 1.4.0rc1, 1.4.0, 1.4.1, 1.5.0rc0, 1.5.0rc1, 1.5.0, 1.5.1, 1.6.0rc0, 1.6.0rc1, 1.6.0, 1.7.0rc0, 1.7.0rc1, 1.7.0, 1.7.1, 1.8.0rc0, 1.8.0rc1, 1.8.0, 1.9.0rc0, 1.9.0rc1, 1.9.0rc2, 1.9.0, 1.10.0rc0, 1.10.0rc1, 1.10.0, 1.10.1, 1.11.0rc0, 1.11.0rc1, 1.11.0rc2, 1.11.0, 1.12.0rc0, 1.12.0rc1, 1.12.0rc2, 1.12.0, 1.12.2, 1.12.3, 1.13.0rc0, 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1)
No matching distribution found for tensorflow<3,>=1.15 (from tfx)
You are using pip version 9.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The same installation succeeds after upgrading pip through pip3 install --upgrade pip
.
Is there a plan to have the pip version upgraded?
There was https://github.com/GoogleCloudPlatform/python-runtime/pull/201 which downgraded pip from 18.0 to 9.0.3, referencing https://github.com/pypa/pip/issues/5240. A related issue https://github.com/pypa/pip/issues/5599 is still open but it says that the problems are not with pip itself but due to incorrect use of pip. Perhaps they could be fixed or worked around in the pip installation in the Python runtime image?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to Upgrade PIP Package to Latest Version [Update PIP]
Step 1: Install Python and pip · Step 2: Check the pip Version and Verify the Installation · Step 3: Managing Python Packages...
Read more >How do I update/upgrade pip itself from inside my virtual ...
go to command prompt · and use this command · python -m pip install -–upgrade pip · Dont forget to restart the editor,to...
Read more >Installation - pip documentation v22.3.1
Python comes with an ensurepip module1, which can install pip in a Python environment. Linux. $ python -m ensurepip --upgrade.
Read more >How to Upgrade PIP in Windows - Data to Fish
Upgrade PIP in Windows; Check the version of PIP; Downgrade PIP to a previous version. In order to upgrade PIP in Windows, you'll...
Read more >Three Easy Methods to Upgrade Pip to the Latest Version
Step 1: Open Anaconda Navigator · Step 3: Find Pip · Step 3: Choose Pip · Step 4: Mark for Update · Step...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @donmccasland Do you have an update on this ? I face the same case as @eddie-scio. Or do you have any workaround ?
Close?