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

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

Closed
eecharlie opened this issue Nov 1, 2024 · 3 comments
Closed

Comments

@eecharlie
Copy link

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

  • I've tried straightforward pip install as below, which hangs up on finding a version of cadquery-ocp:
ERROR: Could not find a version that satisfies the requirement cadquery-ocp>=7.7.0 (from build123d) (from versions: none)
ERROR: No matching distribution found for cadquery-ocp>=7.7.0
  • Reviewing that package's instructions, I've tried installing via conda install -c conda-forge -c cadquery ocp which is successful, but does not satisfy the pip dependencies of 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
Copy link
Author

Whoops, well known and tracked here.

@jdegenstein
Copy link
Collaborator

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

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.

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

2 participants