Skip to content

Module does not work #1

@smirnovalnik

Description

@smirnovalnik

Installed module to clean virtual environment by

python -m pip install basd

Installation was successful.

Tried to run help of basd and get this:

basd --help                                   
Traceback (most recent call last):
  File "/Users/aleksandrsmirnov/Dropbox/Development/python-playground/venv/bin/basd", line 5, in <module>
    from basd import main
  File "/Users/aleksandrsmirnov/Dropbox/Development/python-playground/venv/lib/python3.12/site-packages/basd/__init__.py", line 45, in <module>
    from .cad import create_cad
  File "/Users/aleksandrsmirnov/Dropbox/Development/python-playground/venv/lib/python3.12/site-packages/basd/cad/__init__.py", line 43, in <module>
    import cadquery as cq
  File "/Users/aleksandrsmirnov/Dropbox/Development/python-playground/venv/lib/python3.12/site-packages/cadquery/__init__.py", line 10, in <module>
    from .occ_impl.geom import Plane, BoundBox, Vector, Matrix, Location
  File "/Users/aleksandrsmirnov/Dropbox/Development/python-playground/venv/lib/python3.12/site-packages/cadquery/occ_impl/geom.py", line 5, in <module>
    from OCP.gp import (
ModuleNotFoundError: No module named 'OCP'

Installing OCP module did not help.

python -m pip install ocp

My system is macOS with M2 chip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions