Skip to content

Instantly share code, notes, and snippets.

@l4u
Created November 20, 2019 01:19
Show Gist options
  • Save l4u/c219ead4c686bd38bc70a8e83978b941 to your computer and use it in GitHub Desktop.
Save l4u/c219ead4c686bd38bc70a8e83978b941 to your computer and use it in GitHub Desktop.
raceback (most recent call last):
File "/usr/local/Caskroom/miniconda/base/bin/cq-editor", line 11, in <module>
load_entry_point('CQ-editor==0.1.0.dev0', 'gui_scripts', 'cq-editor')()
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
return ep.load()
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2443, in load
return self.resolve()
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cq_editor/__main__.py", line 12, in <module>
from .main_window import MainWindow
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cq_editor/main_window.py", line 10, in <module>
import cadquery as cq
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cadquery/__init__.py", line 2, in <module>
from .occ_impl.geom import Plane, BoundBox, Vector, Matrix
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cadquery/occ_impl/geom.py", line 3, in <module>
from OCC.Core.gp import gp_Vec, gp_Ax1, gp_Ax3, gp_Pnt, gp_Dir, gp_Trsf, gp, gp_XYZ
ModuleNotFoundError: No module named 'OCC'
ERROR conda.cli.main_run:execute(39): Subprocess for 'conda run ['cq-editor']' command failed. Stderr was:
Traceback (most recent call last):
File "/usr/local/Caskroom/miniconda/base/bin/cq-editor", line 11, in <module>
load_entry_point('CQ-editor==0.1.0.dev0', 'gui_scripts', 'cq-editor')()
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
return ep.load()
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2443, in load
return self.resolve()
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cq_editor/__main__.py", line 12, in <module>
from .main_window import MainWindow
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cq_editor/main_window.py", line 10, in <module>
import cadquery as cq
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cadquery/__init__.py", line 2, in <module>
from .occ_impl.geom import Plane, BoundBox, Vector, Matrix
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cadquery/occ_impl/geom.py", line 3, in <module>
from OCC.Core.gp import gp_Vec, gp_Ax1, gp_Ax3, gp_Pnt, gp_Dir, gp_Trsf, gp, gp_XYZ
ModuleNotFoundError: No module named 'OCC'
@l4u
Copy link
Author

l4u commented Nov 20, 2019

import cadquery
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cadquery/init.py", line 2, in
from .occ_impl.geom import Plane, BoundBox, Vector, Matrix
File "/usr/local/Caskroom/miniconda/base/lib/python3.6/site-packages/cadquery/occ_impl/geom.py", line 3, in
from OCC.Core.gp import gp_Vec, gp_Ax1, gp_Ax3, gp_Pnt, gp_Dir, gp_Trsf, gp, gp_XYZ
ModuleNotFoundError: No module named 'OCC'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment