Skip to content

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

@utkarsh8028

Description

@utkarsh8028

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions