Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2021 20:37:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259510] cad/py-cadquery: Update to latest version with working dependencies.
Message-ID:  <bug-259510-7788-iGc6xInOtT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259510-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259510-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259510

rsmith@xs4all.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsmith@xs4all.nl

--- Comment #1 from rsmith@xs4all.nl ---
I've been trying these new and patched ports that Neal pointed me to.

Through testing I found that cadquery also requires math/nlopt:

~/github/cadquery/examples> python Ex001_Simple_Block.py
Traceback (most recent call last):
  File "/home/rsmith/github/cadquery/examples/Ex001_Simple_Block.py", line =
1,
in <module>
    import cadquery as cq
  File "/usr/local/lib/python3.9/site-packages/cadquery/__init__.py", line =
31,
in <module>
    from .assembly import Assembly, Color, Constraint
  File "/usr/local/lib/python3.9/site-packages/cadquery/assembly.py", line =
10,
in <module>
    from .occ_impl.solver import (
  File "/usr/local/lib/python3.9/site-packages/cadquery/occ_impl/solver.py",
line 5, in <module>
    import nlopt
ModuleNotFoundError: No module named 'nlopt'

After installing math/nlopt it works.

P.S: should we modify math/nlopt to make guile bindings optional?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259510-7788-iGc6xInOtT>