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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typing_extensions support for python 3.7 #9169

Open
pdx97 opened this issue Apr 8, 2024 · 1 comment
Open

Add typing_extensions support for python 3.7 #9169

pdx97 opened this issue Apr 8, 2024 · 1 comment
Labels

Comments

@pdx97
Copy link

pdx97 commented Apr 8, 2024

馃殌 The feature, motivation and pitch

Please Add typing_extensions support for python version 3.7

  • Traceback (most recent call last):
    File "torchbeast/monobeast.py", line 19, in
    from agent.geometric.gnnagent import GNNAgent
    File "/home/pdx/Desktop/GTG/agent/geometric/gnnagent.py", line 4, in
    from pytorch_geometric.torch_geometric.nn import RGCNConv, FastRGCNConv
    File "/home/pdx/Desktop/GTG/pytorch_geometric/torch_geometric/init.py", line 2, in
    from .edge_index import EdgeIndex
    File "/home/pdx/Desktop/GTG/pytorch_geometric/torch_geometric/edge_index.py", line 4, in
    from typing import (
    ImportError: cannot import name 'Literal' from 'typing' (/home/pdx/anaconda3/envs/GTG_1/lib/python3.7/typing.py)

error_modifiedGCN

Alternatives

No response

Additional context

No response

@pdx97 pdx97 added the feature label Apr 8, 2024
@akihironitta
Copy link
Member

Since many projects already dropped Python 3.7 support as per NEP 29, it may not make sense to have the support back in PyG.

I'd simply recommend using an older version of PyG if you'd like to use Python 3.7.

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