pip install is missing vtkmodules for CadQuery 2.6.0
- Dominant language
- Python
- Stars
- 5.8k
- Forks
- 541
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 5
Description
I installed `pip install --upgrade cadquery` in order to get version 2.6.0, but when I try to use it for some models, it no longer works as some dependencies seem to be missing:
```
File "D:\Programs\venv\Lib\site-packages\cadquery\occ_impl\shapes.py", line 23, in
from vtkmodules.vtkCommonDataModel import vtkPolyData
ModuleNotFoundError: No module named 'vtkmodules.vtkCommonDataModel'
```
I had to manually install `cadquery-vtk` in order to satisfy the requirement.
(This wasn't the case in earlier versions.)
I see that #1786 added some dependencies like `trame-vtk` to `setup.py`, just no `cadquery-vtk`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in setup.py and review the dependency changes from issue #1786, focusing on the missing cadquery-vtk package reported here. Reproduce the failure in a fresh environment with pip install --upgrade cadquery, then verify that importing vtkmodules.vtkCommonDataModel works without a manual extra installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100