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

Module does not work #1

Open
smirnovalnik opened this issue Jun 9, 2024 · 0 comments
Open

Module does not work #1

smirnovalnik opened this issue Jun 9, 2024 · 0 comments

Comments

@smirnovalnik
Copy link

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.

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