Skip to content

CoolProp fails to import when cadquery is imported first #1799

@mariap-pf

Description

@mariap-pf

When importing cadquery before CoolProp, the script silently hangs and does not proceed to execution. Reversing the import order resolves the issue. Does anyone have an idea of what could be the problem?

To Reproduce

import cadquery
import CoolProp

if __name__ == "__main__":
    print("hello world")

Environment

OS: Ubuntu 22.04
Python version: 3.10
cadquery version: https://github.com/CadQuery/cadquery/tree/2698db5c395705eb36e42bb5d4ab5944daf24436
CoolProp version: 6.6.0
Was CadQuery installed using Conda?: no, it was installed using pip
Using: Python interpreter

Metadata

Metadata

Assignees

No one assigned

    Labels

    pipquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions