Skip to content

annot import name 'topods_Shell' from 'OCC.Core.TopoDS' (/root/miniconda3/lib/python3.10/site-packages/OCC/Core/TopoDS.py) #42

@bluemelonrind

Description

@bluemelonrind

I am facing issues with 'from OCC.Extend.DataExchange import read_step_file, list_of_shapes_to_compound
ImportError: cannot import name 'topods_Shell' from 'OCC.Core.TopoDS' (/root/miniconda3/lib/python3.10/site-packages/OCC/Core/TopoDS.py)
I'm downloading the newest edition of pythonocc-core
E ImportError: cannot import name 'list_of_shapes_to_compound' from 'OCC.Extend.DataExchange' (/root/miniconda3/lib/python3.10/site-packages/OCC/Extend/DataExchange.py)'.

here is the error:
ImportError: cannot import name 'list_of_shapes_to_compound' from 'OCC.Extend.DataExchange'

what do I need to do? I am a beginner. I'm using occwl.

Thanks

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