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

Python3.10 import error while using joey/devito #5

Open
utkarsh8028 opened this issue Jul 15, 2022 · 0 comments
Open

Python3.10 import error while using joey/devito #5

utkarsh8028 opened this issue Jul 15, 2022 · 0 comments

Comments

@utkarsh8028
Copy link
Member

utkarsh8028 commented Jul 15, 2022

Traceback (most recent call last):
File "/home/ubuntu/joey/tests/2Dconvoltion_test.py", line 7, in
import joey as ml
File "/home/ubuntu/joey/joey/init.py", line 1, in
from joey.activation import Activation # noqa
File "/home/ubuntu/joey/joey/activation.py", line 3, in
from devito import Eq
File "/home/ubuntu/.local/lib/python3.10/site-packages/devito/init.py", line 7, in
from devito.base import * # noqa
File "/home/ubuntu/.local/lib/python3.10/site-packages/devito/base.py", line 13, in
import devito.operator as operator
File "/home/ubuntu/.local/lib/python3.10/site-packages/devito/operator/init.py", line 2, in
from .operator import Operator # noqa
File "/home/ubuntu/.local/lib/python3.10/site-packages/devito/operator/operator.py", line 24, in
from devito.passes import Graph, NThreads, NThreadsNested, NThreadsNonaffine
File "/home/ubuntu/.local/lib/python3.10/site-packages/devito/passes/init.py", line 1, in
from .clusters import * # noqa
File "/home/ubuntu/.local/lib/python3.10/site-packages/devito/passes/clusters/init.py", line 1, in
from .utils import * # noqa
File "/home/ubuntu/.local/lib/python3.10/site-packages/devito/passes/clusters/utils.py", line 1, in
from collections import Iterable, OrderedDict
ImportError: cannot import name 'Iterable' from 'collections' (/home/ubuntu/miniconda3/envs/joey10/lib/python3.10/collections/init.py)

@utkarsh8028 utkarsh8028 changed the title Python3.10 issues an error while using joey/devito Python3.10 import error while using joey/devito Jul 15, 2022
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

1 participant