ScriptEditor Rhino Wip 9

Hi,

What changed in Rhino9 Wip dependencies? There is something happening with numpy.

@eirannejad Can you try to run this in v9 ?

#! python3

# venv: timber_connections_v9

# r: wood-nano==0.3.5, compas-wood==2.4.0, compas, wood-rui==0.2.2

ScriptEditor.log (85.6 KB)

Root Cause

  1. Rhino 9 WIP is using Python 3.13.4
  2. compas (dependency of your packages) requires numpy<2,>=1.15.4 (line 211)
  3. This constraint resolves to numpy 1.26.4 - the latest numpy 1.x version
  4. numpy 1.26.4 does NOT support Python 3.13 - it only provides pre-built wheels up to Python 3.12
  5. pip tries to compile numpy 1.26.4 from source for Python 3.13, which fails with C compilation errors

The Conflict

Package Requires Problem
compas 2.8.1/2.15.0 numpy<2 Blocks numpy 2.x
Python 3.13 numpy 2.x numpy 1.x has no wheels for 3.13