bullwinkle3000 / dactyl-keyboard

Dactyl-ManuForm, a parameterized ergonomic keyboard translated into Python including a cadquery / Open CASCADE implementation.
GNU Affero General Public License v3.0
219 stars 58 forks source link

DLL load failed while importing OCP: The specified module could not be found #13

Open PenguinsGoWild opened 12 months ago

PenguinsGoWild commented 12 months ago

Hi I'm very new to all of this so this might(most likely will) be a stupid question but I keep getting an error when using cadquery as the engine.

(dactyl-keyboard) C:\Users\NAME\Desktop\dac>python src/dactyl_manuform.py
>>> Using config run_config.json on Git branch wilder
Found Current Engine in Config = cadquery
Traceback (most recent call last):
  File "src/dactyl_manuform.py", line 2452, in <module>
    make_dactyl()
  File "src/dactyl_manuform.py", line 248, in make_dactyl
    globals().update(importlib.import_module("helpers_cadquery").__dict__)
  File "C:\Users\NAME\miniconda3\envs\dactyl-keyboard\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\NAME\Desktop\dac\src\helpers_cadquery.py", line 1, in <module>
    import cadquery as cq
  File "C:\Users\NAME\miniconda3\envs\dactyl-keyboard\lib\site-packages\cadquery\__init__.py", line 10, in <module>
    from .occ_impl.geom import Plane, BoundBox, Vector, Matrix, Location
  File "C:\Users\NAME\miniconda3\envs\dactyl-keyboard\lib\site-packages\cadquery\occ_impl\geom.py", line 5, in <module>
    from OCP.gp import (
ImportError: DLL load failed while importing OCP: The specified module could not be found.

No clue what I'm doing, help would be greatly appreciated. I was just trying to generate the base plates. I've tried rekeying the commands to no avail and there are little resources online. I'm a complete newbie so apologies for the trouble.