cadquery icon indicating copy to clipboard operation
cadquery copied to clipboard

CoolProp fails to import when cadquery is imported first

Open mariap-pf opened this issue 7 months ago • 2 comments

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

mariap-pf avatar Apr 04 '25 07:04 mariap-pf