Skip to content
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

Upgrade pip version #227

Open
swalkowski opened this issue Dec 31, 2019 · 5 comments
Open

Upgrade pip version #227

swalkowski opened this issue Dec 31, 2019 · 5 comments

Comments

@swalkowski
Copy link

swalkowski commented Dec 31, 2019

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

@eddie-scio
Copy link

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.

@leahecole
Copy link

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

@donmccasland
Copy link
Member

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

@Dallas62
Copy link

Dallas62 commented Aug 7, 2020

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

@abitrolly
Copy link

➜  ~ 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants