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

Tensorflow package cannot be installed due to missing distributions #2517

Open
TPK28 opened this issue Jun 17, 2023 · 4 comments
Open

Tensorflow package cannot be installed due to missing distributions #2517

TPK28 opened this issue Jun 17, 2023 · 4 comments
Labels

Comments

@TPK28
Copy link

TPK28 commented Jun 17, 2023

When attempting to install the Tensorflow package using pip, the following error occurs:

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

@AnirudhDagar
Copy link
Member

Hi @TPK28, can you please share what tensorflow version you are trying to install? And the OS?
We suggest following yaml file to create the d2l conda environment (this has been tested on Linux/MacOS):
https://github.com/d2l-ai/d2l-en/blob/master/static/build.yml

@TPK28
Copy link
Author

TPK28 commented Jun 18, 2023

HI @AnirudhDagar I've tried it to tensorflow last release 2.12.0 and other dependencies on macOS 10.13.6.

@AnirudhDagar
Copy link
Member

AnirudhDagar commented Jun 18, 2023

Ok, in that case, I'm pretty sure this is due to the python version. Please also make sure you are using Python 3.9/3.10 etc. seems like you are trying to pip install for a python version that has no wheels for tensorflow on pypi.

You can check the output of
python --version to confirm the version.

@AnirudhDagar
Copy link
Member

@TPK28 did it work with a newer python version (like python 3.9)?, if yes, please close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants