cadquery icon indicating copy to clipboard operation
cadquery copied to clipboard

Python 3.12 Support When Installing via pip

Open jmwright opened this issue 1 year ago • 4 comments

I am posting this here as a known issue that we can point to when people ask.

As mentioned in this issue, our Python 3.12 support is broken right now when isntalling via pip because of our dependency nlopt. I expect this package will be fixed for Python 3.12 eventually (just like it was with 3.11), but for now we have to wait.

CadQuery installed via conda (instructions here) seems to work fine with Python 3.12, so that is an option.

jmwright avatar Jan 02 '24 14:01 jmwright

Hello, was wondering if there was any update on this? Would love to use this for a project, but we are running 3.12.

Jfdezmtz avatar Feb 05 '24 17:02 Jfdezmtz

@Jfdezmtz You can try installing CadQuery, but nlopt still throws an error via pip for me on Python 3.12 in Linux. As far as I can tell, that is the only broken dependency, but it is not one that can be left out.

jmwright avatar Feb 05 '24 18:02 jmwright

@jmwright Yes, nlopt still throws me an error. I was wondering if there was any update or ETA on when this issue might be fixed?

Jfdezmtz avatar Feb 05 '24 18:02 Jfdezmtz

No ETA. That dependency is not under the CadQuery umbrella.

https://github.com/stevengj/nlopt/issues/548

jmwright avatar Feb 05 '24 20:02 jmwright