CadQuery / CQ-editor

CadQuery GUI editor based on PyQT
Apache License 2.0
723 stars 111 forks source link

Not runable after installing according to Readme #442

Open TDB-ev opened 1 month ago

TDB-ev commented 1 month ago

After installing cq-editor using:

mamba install -c cadquery -c conda-forge cq-editor=master

it is not possible to run cq-editor and yields an error:

...lib/python3.11/site-packages/nptyping/typing_.py", line 51, in <module>
    Bool8 = np.bool8
...
AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?

Causes by some depency problem (nptype / numpy related).

After downgrading numpy it does work:

mamba install numpy=1.26.8
justbuchanan commented 1 month ago

+1 I had the same issue and used the same workaround (downgrading numpy to something before 2.0).

It looks like there's a proposed fix for nptyping in https://github.com/ramonhagenaars/nptyping/pull/114.

justbuchanan commented 1 month ago

Attempted fix in https://github.com/CadQuery/cadquery/pull/1612