Couldn't install tensotflow==2.1.0
See original GitHub issue-
[*] I am on the latest Poetry version.
-
[*] I have searched the issues of this repo and believe that this is not a duplicate.
-
[*] If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option). -
OS version and name: Docker image python:3.6.9
-
Poetry version: 1.0.2
Issue
I have not way to install latest tensorflow with poetry==1.0.2. If try to install I have this trace:
[EnvCommandError]
Command ['/home/zenv/.cache/pypoetry/virtualenvs/1-ZUkQNI8o-py3.6/bin/pip', 'install', '--no-deps', 'tensorflow==2.1.0'] errored with the following return code 1, and output:
Collecting tensorflow==2.1.0
Could not find a version that satisfies the requirement tensorflow==2.1.0 (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==2.1.0
You are using pip version 18.1, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top Results From Across the Web
TensorFlow not found using pip - Stack Overflow
Run this command to upgrade your pip, then try install tensorflow ... https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py2 ...
Read more >Unable to install tensorflow=1.0.0 · Issue #12846 - GitHub
I have been trying to install tensorflow 1.0.0 using pip in Anaconda environment. I found the below error while installation.
Read more >How to Fix Could not Find a Version that Satisfies ... - Appuals
Method 1: Verify Python Version On Your System · Right-click on My Computer and afterward click on Properties button. Choose Properties · Now...
Read more >Installing TensorFlow on Windows · tfdocs - branyang
This guide explains how to install TensorFlow on Windows. ... 41007279, [...\stream_executor\dso_loader.cc] Couldn't open CUDA library nvcuda.dll.
Read more >Build and install error messages - TensorFlow
If you find an installation or build problem that is not listed, please search the ... stream_executor\dso_loader.cc] Couldn't open CUDA library nvcuda.dll.
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 Free
Top 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
Official “Install” page says, that you are required to have
pip>=19
to installtensorflow
:But you have
pip18.1
. I’d try runningpip install --upgrade pip
as the error message recommends before you install this package.On Tensorflow’s install page they require a Python version that is >= 3.5, ❤️.8 which is why 3.6 worked but 3.8 didn’t.
The page also specifies that one needs pip 19.0 or later.
TLDR to correctly install Tensorflow with poetry:
I will be closing this issue now since @zueve’s issue seems to have been resolved on their end. For any other questions regarding this topic, please ask under our Stack Overflow tag or join our Discord server.