8000 Installation: Version of Tensor flow · Issue #211 · tkipf/gcn · GitHub
[go: up one dir, main page]

Skip to content

Installation: Version of Tensor flow #211

Open

Description

@trudramukerji14

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

Activity

  1. 00JackLu commented on Oct 22, 2022

    @00JackLu
  2. ahsantfw commented on Feb 23, 2023

    @ahsantfw

    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

  3. HeVLF commented on May 16, 2023

    @HeVLF

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0