Skip to content

‘pip install --pre cadquery’ on Alpine (musl-based linux) appears to be installing version 1 #1182

@jchidley

Description

@jchidley
pip install --pre cadquery --no-cache-dir
Collecting cadquery
  Downloading cadquery-2.2.0b2-py3-none-any.whl (142 kB)
     ━━━━━━━━━━━━━━━━━━━━ 142.2/142.2 kB 5.0 MB/s eta 0:00:00
Collecting path
  Downloading path-16.5.0-py3-none-any.whl (26 kB)
Collecting ezdxf
  Downloading ezdxf-1.0.0b0-cp310-cp310-musllinux_1_1_x86_64.whl (3.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 24.1 MB/s eta 0:00:00
Collecting nptyping==2.0.1
  Downloading nptyping-2.0.1-py3-none-any.whl (19 kB)
Collecting nlopt
  Downloading nlopt-2.6.2.tar.gz (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 29.3 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting cadquery
  Downloading cadquery-2.2.0b1-py3-none-any.whl (140 kB)
     ━━━━━━━━━━━━━━━━━━ 140.0/140.0 kB 153.5 MB/s eta 0:00:00
  Downloading cadquery-2.2.0b0-py3-none-any.whl (137 kB)
     ━━━━━━━━━━━━━━━━━━ 137.3/137.3 kB 125.5 MB/s eta 0:00:00
Collecting multimethod
  Downloading multimethod-1.9-py3-none-any.whl (10 kB)
Collecting cadquery
  Downloading cadquery-1.2.5-py3-none-any.whl (103 kB)
     ━━━━━━━━━━━━━━━━━━ 103.1/103.1 kB 136.9 MB/s eta 0:00:00
Requirement already satisfied: pyparsing in ./cq/lib/python3.10/site-packages (from cadquery) (3.0.9)
Installing collected packages: cadquery
Successfully installed cadquery-1.2.5
import cadquery
WARNING: CadQuery 1.x is no longer supported. Please upgrade to CadQuery 2.x https://github.com/CadQuery/cadquery
Traceback (most recent call last):
  File "/home/jack/cq/lib/python3.10/site-packages/cadquery/freecad_impl/__init__.py", line 152, in <module>
    import FreeCAD
ModuleNotFoundError: No module named 'FreeCAD'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jack/cq/lib/python3.10/site-packages/cadquery/__init__.py", line 6, in <module>
    from .freecad_impl.geom import Plane,BoundBox,Vector,Matrix,sortWiresByBuildOrder
  File "/home/jack/cq/lib/python3.10/site-packages/cadquery/freecad_impl/__init__.py", line 154, in <module>
    path = _fc_path()
  File "/home/jack/cq/lib/python3.10/site-packages/cadquery/freecad_impl/__init__.py", line 146, in _fc_path
    raise ImportError('cadquery was unable to determine freecad library path')
ImportError: cadquery was unable to determine freecad library path

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions