gumyr / build123d

A python CAD programming library
Apache License 2.0
572 stars 94 forks source link

Broken pip install cadquery-ocp dependency for Apple silicon platform #753

Closed eecharlie closed 3 weeks ago

eecharlie commented 3 weeks ago

I'm unable to get cadquery/ocp working with build123d.

However, disabling build123d's dependencies on cadquery-ocp and ocpsvg (via editing pyproject.toml) allow installation of build123d to proceed, as in my case I have ocpsvg==0.2.1 already installed.

Can a workaround/accommodation for installation on Apple silicon be included in the install process, even if it's specific manual instructions in the readme, so that Apple silicon users don't have to hack their way to this?

eecharlie commented 3 weeks ago

Whoops, well known and tracked here.

jdegenstein commented 3 weeks ago

saw that you closed already, but FYI we also have a workaround in the docs https://build123d.readthedocs.io/en/latest/installation.html#special-notes-on-apple-silicon-installs

eecharlie commented 3 weeks ago

Thanks! I had been limping along on having installed ocp and cadquery but not cadquery-ocp but I was still getting some inline Jupyter rendering with a horrible limited UI. After following those directions, everything is broken: most unit tests fail in my local development branch of build123d, and in VS Code Jupyter notebooks I get a vtk error message and blank canvass when it tries to render. I think I'm going to try Docker.