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

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

Open
PenguinsGoWild opened this issue Nov 27, 2023 · 0 comments

Comments

@PenguinsGoWild
Copy link

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.

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

1 participant