tensorflow: Pip install can't find tensorflow2.0.0rc0
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
- Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: Nope
- TensorFlow installed from (source or binary): wheel file via pip
- TensorFlow version: tensorflow==2.0.0rc0
- Python version: python3.7
- Installed using virtualenv? pip? conda?: pip
- Bazel version (if compiling from source): not source
- GCC/Compiler version (if compiling from source): not source
- CUDA/cuDNN version: not GPU
- GPU model and memory: not GPU
Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
When you pip install tensorflow==2.0.0rc0, you get an error message saying that pip can’t find a matching version of the distribution that’t given.
Any other info / logs Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Step 5/11 : RUN /usr/local/bin/algorithmia-build
---> Running in 229b8273366c
Collecting algorithmia<2.0,>=1.0.0 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/12/ae/38a82aae155a42261621eaba0a878959a0af93bf2d70d0ba98048ddaa3d2/algorithmia-1.2.0-py2.py3-none-any.whl
Requirement already satisfied: six in /usr/local/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (1.12.0)
Collecting pip==19.2.2 (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/8d/07/f7d7ced2f97ca3098c16565efbe6b15fafcba53e8d9bdb431e09140514b0/pip-19.2.2-py2.py3-none-any.whl (1.4MB)
Collecting tensorflow-gpu==2.0.0rc0 (from -r requirements.txt (line 4))
[91m Could not find a version that satisfies the requirement tensorflow-gpu==2.0.0rc0 (from -r requirements.txt (line 4)) (from versions: 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)
[0m[91mNo matching distribution found for tensorflow-gpu==2.0.0rc0 (from -r requirements.txt (line 4))
[0m[91mYou are using pip version 18.1, however version 19.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[0mRemoving intermediate container 229b8273366c
The command '/bin/sh -c /usr/local/bin/algorithmia-build' returned a non-zero code: 1
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 39 (5 by maintainers)
Looks like
tensorflow2.0.0rc0moved away from themanylinux1tag to themanylinux2010tag.The
manylinux2010tag is only supported w/ pip version19and above.To fix this bug/issue, update pip via:
Fore more info: https://discuss.python.org/t/the-next-manylinux-specification/1043
After upgrade pip by
python -m pip install --upgrade pip --user. I could runpip install --upgrade tensorflow-gpu==2.0.0-rc0I think in both of these cases you installed a 32 bits Python. Please install a 64 bits one if your CPU is 64 bits.
For 32 bits support see #32315
Recommend StackOverflow for this, no idea if same solution would work there and cannot extrapolate.
@besirkurtulmus, For Tensorflow CPU version try,
pip install --upgrade tensorflow==2.0.0-rc0Let us know if that helps. Thanks!