You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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?
Activity
00JackLu commentedon Oct 22, 2022
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 commentedon Feb 23, 2023
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 commentedon 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