cfobel / storage-boxes

A CadQuery fork of the awesome assortment boxes by Alexandre Chappel.
MIT License
0 stars 1 forks source link

No module named 'cadquery' #1

Open ryanfobel opened 3 years ago

ryanfobel commented 3 years ago

Steps to recreate the problem

Following the installation instructions in the README.md file and run the example command:

(cadquery) C:\Users\ryan\OneDrive\dev\cadquery\storage-boxes\src>python -m storage_boxes.models --help
Traceback (most recent call last):
  File "C:\Users\ryan\miniconda3\envs\cadquery\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\ryan\miniconda3\envs\cadquery\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\ryan\OneDrive\dev\cadquery\storage-boxes\src\storage_boxes\models.py", line 4, in <module>
    import cadquery as cq
ModuleNotFoundError: No module named 'cadquery'

Workaround

It turns out that cadquery is not listed in the environments.yaml file. It can be installed with the following command:

conda install -c cadquery -c conda-forge cadquery