Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

Upgrade pip version #227

Open
Open

Description

@swalkowski

We 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 #201 which downgraded pip from 18.0 to 9.0.3, referencing pypa/pip#5240. A related issue pypa/pip#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?

@dlorenc @liyanhui1228

Activity

  1. eddie-scio commented on Feb 26, 2020

    @eddie-scio

    Seems like in the current state, TF1.15 cannot be installed via requirements on GAE Flex -- the pip version I'm getting (You are using pip version 10.0.1, however version 20.0.2 is available.) doesn't have 1.15.

  2. leahecole commented on Mar 6, 2020

    @leahecole

    Are there plans to move to a later version of pip than 9.0.3 or 10.0.1?

  3. donmccasland commented on Mar 30, 2020

    @donmccasland
    Member

    I'm taking this up now. I'll try out pip 10.0.1, but I fear running into: pypa/pip#5240

  4. Dallas62 commented on Aug 7, 2020

    @Dallas62

    Hi @donmccasland
    Do you have an update on this ?
    I face the same case as @eddie-scio.
    Or do you have any workaround ?

  5. abitrolly commented on Aug 20, 2021

    @abitrolly
    ➜  ~ podman run -it gcr.io/google-appengine/python pip3 --version
    pip 21.1.3 from /opt/python3.7/lib/python3.7/site-packages/pip (python 3.7)
    

    Close?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions