-
Notifications
You must be signed in to change notification settings - Fork 385
Open
Labels
Description
To Reproduce
import cadquery$ python
Python 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import cadquery
>>> print('Hello')
Hello
>>> quit()
Segmentation fault
(venv2)
If I comment out
from .assembly import Assembly, Color, Constraintfrom __init__.py, it no longer crashes.
Environment
OS: Windows 11, Python 3.12.8 (installed by the official Python installer), running from Mingw64 shell.
Was CadQuery installed using Conda?: No, via pip install cadquery
Output of pip list:
$ pip list
Package Version
----------------- -------------
aiohappyeyeballs 2.6.1
aiohttp 3.13.0
aiosignal 1.4.0
attrs 25.4.0
cadquery 2.6.0
cadquery-ocp 7.8.1.1.post1
casadi 3.7.2
contourpy 1.3.3
cycler 0.12.1
ezdxf 1.4.2
fonttools 4.60.1
frozenlist 1.8.0
idna 3.10
kiwisolver 1.4.9
matplotlib 3.10.6
more-itertools 10.8.0
msgpack 1.1.1
multidict 6.7.0
multimethod 1.12
nlopt 2.9.1
numpy 2.3.3
packaging 25.0
path 17.1.1
pillow 11.3.0
pip 24.3.1
propcache 0.4.0
pyparsing 3.2.5
python-dateutil 2.9.0.post0
PyYAML 6.0.3
six 1.17.0
trame 3.12.0
trame-client 3.11.1
trame-common 1.0.1
trame-server 3.6.3
trame-vtk 2.10.0
typing_extensions 4.15.0
typish 1.9.3
vtk 9.3.1
wslink 2.4.0
yarl 1.22.0
Using: python from mingw64 shell:
$ which python
/c/Program Files/Python/Python312/python
If I run the same Python and same venv from cmd, I don't see the Segmentation Fault printed out.