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

Installation: Version of Tensor flow #211

Open
trudramukerji14 opened this issue Jul 26, 2022 · 3 comments
Open

Installation: Version of Tensor flow #211

trudramukerji14 opened this issue Jul 26, 2022 · 3 comments

Comments

@trudramukerji14
Copy link

Sorry, I'm trying to install the gcn package, it looks like it requires an older version of tensor flow

I initially tried to run:

pip install -r requirements.txt

in the terminal, but got the error:

ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.4 (from versions: 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1)
ERROR: No matching distribution found for tensorflow==1.15.

I then installed tensor flow and tried again but then got the following error when trying python setup.py install:

error: Could not find suitable distribution for Requirement.parse('tensorflow<2.0,>=1.15.2')

So it looks like the recent tensor flow was too new.

I was wondering if there was an updated version of this software that works with modern versions of tf or pytorch?

ER

@00JackLu
Copy link

https://stackoverflow.com/questions/63499262/pip-error-no-matching-distribution-found-for-tensorflow-1-6-0I have the same issue,maybe this can help you

@ahsantfw
Copy link

For using the tensorflow=1.15.2, You need to downgrade the Python version to 3.6

Here are the steps to install it successfully.
'!sudo update-alternatives --config python3'
Press 1, to select python 3.6.

Then, simply pip install the TensorFlow as:
!pip install tensorflow==1.15.2

Also, install all the required libraries inside setup.py in same way.
Good Luck

@HeVLF
Copy link

HeVLF commented May 16, 2023

Hi. I am trying to run the tutorial, but I keep receiving errors related to dependencies. I now have tensorflow 1.15.0 installed and python 3.7.16, and I'm getting this error:

"ImportError: cannot import name 'cached_property' from 'functools' (/opt/anaconda3/envs/tf1/lib/python3.7/functools.py)"

From my research the cached_property attribute was introduced in Python 3.8, but python 3.8 is only compatible with tensflow >= 2.2. But with tensorflow 2.10 I was getting a different error related to scipy. So I was wandering which are the requirements to run the tutorial?

Thank you in advance

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

4 participants