Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not runable after installing according to Readme #442

Open
TDB-ev opened this issue Jun 21, 2024 · 4 comments
Open

Not runable after installing according to Readme #442

TDB-ev opened this issue Jun 21, 2024 · 4 comments

Comments

@TDB-ev
Copy link

TDB-ev commented Jun 21, 2024

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
Copy link
Member

+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 ramonhagenaars/nptyping#114.

@justbuchanan
Copy link
Member

Attempted fix in CadQuery/cadquery#1612

@GiulioBj
Copy link

GiulioBj commented Sep 2, 2024

Hi, I have the same problem. Do you raccomand to downgrade cadquery from 2.4.0 version to another older version? If I downgrade only numpy there is no compatibility between the 2 libraries.

@adam-urbanczyk
Copy link
Member

Does installing cadquery from the cadquery channel work: mamba install -c conda-forge cadquery::cadquery=master? In the meantime we should start releasing 2.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants