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

Pip No matching distribution found for tensorflow-gpu==2.0.0-alpha0 #26578

Closed
JamesQFreeman opened this issue Mar 11, 2019 · 14 comments
Closed
Assignees
Labels
TF 2.0 Issues relating to TensorFlow 2.0 type:build/install Build and install issues

Comments

@JamesQFreeman
Copy link

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):
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
  • TensorFlow installed from (source or binary):
  • TensorFlow version:
  • Python version:
  • Installed using virtualenv? pip? conda?:
  • Bazel version (if compiling from source):
  • GCC/Compiler version (if compiling from source):
  • CUDA/cuDNN version:
  • GPU model and memory:

Describe the problem

Provide the exact sequence of commands / steps that you executed before running into the problem

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.

@JamesQFreeman JamesQFreeman changed the title >pip install -U --pre tensorflow-gpu==2.0.0-alpha0 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting tensorflow-gpu==2.0.0-alpha0 ThenCould not find a version that satisfies the requirement tensorflow-gpu==2.0.0-alpha0 (from versions: 1.2.0, 1.2.1, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.9.0, 1.10.0, 1.11.0, 1.12.0, 1.13.1) No matching distribution found for tensorflow-gpu==2.0.0-alpha0 Pip No matching distribution found for tensorflow-gpu==2.0.0-alpha0 Mar 11, 2019
@JamesQFreeman
Copy link
Author

pip install -U --pre tensorflow-gpu==2.0.0-alpha0

Then I got these:

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting tensorflow-gpu==2.0.0-alpha0
Could not find a version that satisfies the requirement tensorflow-gpu==2.0.0-alpha0 (from versions: 1.2.0, 1.2.1, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.9.0, 1.10.0, 1.11.0, 1.12.0, 1.13.1)
No matching distribution found for tensorflow-gpu==2.0.0-alpha0

@akshoop
Copy link

akshoop commented Mar 11, 2019

When I encountered a similar sounding error, I realized my problem was that I had Python 3.7.2 (32-bit) installed.

You need to have installed Python 3.7.2 (64-bit) in order to execute pip install tensorflow==2.0.0-alpha0

Hope this helps.

@JamesQFreeman
Copy link
Author

Thanks, I think I was running 64-bit version python37.
However, I solved it by directly download and install .whl file from https://pypi.org/project/tensorflow-gpu/2.0.0a0/#files

@ymodak ymodak self-assigned this Mar 11, 2019
@ymodak ymodak added type:build/install Build and install issues TF 2.0 Issues relating to TensorFlow 2.0 labels Mar 11, 2019
@ymodak
Copy link
Contributor

ymodak commented Mar 11, 2019

Closing this issue since its resolved. Feel free to reopen if have any further problems. Thanks!

@ymodak ymodak closed this as completed Mar 11, 2019
@nxznm
Copy link

nxznm commented Oct 17, 2019

After

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade tensorflow-gpu==2.0.0

I got

No matching distribution found for tensorflow-gpu==2.0.0

and I can see 2.0.0a0, 2.0.0b0, 2.0.0b1 is available.
My Python3 version is 3.6.8.

Because some days ago, I've already install tensorflow(cpu) in my windows PC, and tf.version is 2.0.0, and I want to install tensorflow-gpu in my linux server, if I choose to install tensorflow-gpu==2.0.0a0, it will show that tf.version is 2.0.0-alpha0.

I want to know if my pip3 instruction was wrong.
Thanks a lot.

@mihaimaruseac
Copy link
Collaborator

python -m pip install --upgrade pip.

@ividal
Copy link

ividal commented Oct 24, 2019

python -m pip install --upgrade pip.

This did it for me; pip later was able to see tf 2.0.0. (FTR using python 3.6.8 on ubuntu 18.04.)

@nxznm
Copy link

nxznm commented Oct 29, 2019

Thanks a lot. Finally, I uninstalled my python 2.0, and use the similar instruction above(aims to upgrade my pip) to solve my problem.

@Madhukaran
Copy link

ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==2.0.0 (from versions: none)
ERROR: No matching distribution found for tensorflow-gpu==2.0.0

"any thing could be done for this error?"

@mihaimaruseac
Copy link
Collaborator

python -m pip install --upgrade pip.

(#26578 (comment))

Please read previous replies. Please note that we are not yet releasing python 3.8 pip. Please note that we don't release pip for python interpreters running on 32 bits. Please note that pip debug --verbose gives you a list of tags of pips that can be installed and you can check on pypi if those tags are present for the package.

If none of the above help, please open a new issue, filling in the template

@sergios-ferreira
Copy link

#Win Python 3.6.0
python -m pip install --upgrade tensorflow-gpu

@sergios-ferreira
Copy link

python -m pip install tensorflow==2.0

@xardit
Copy link

xardit commented Apr 21, 2020

Some people might have issue related to having a mac and using old version of tensorflow or tensorflow-gpu as found here #8251 (comment)

@mihaimaruseac
Copy link
Collaborator

There is no GPU for mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TF 2.0 Issues relating to TensorFlow 2.0 type:build/install Build and install issues
Projects
None yet
Development

No branches or pull requests

9 participants