passagemath-coxeter3
raw JSON → 10.8.4 verified Fri May 01 auth: no python
Passagemath interface to coxeter3: Coxeter groups, Bruhat ordering, Kazhdan-Lusztig polynomials. Version 10.8.4 requires Python >=3.11, <3.15.
pip install passagemath-coxeter3 Common errors
error ModuleNotFoundError: No module named 'sage.interfaces.coxeter3' ↓
cause Importing from SageMath namespace after migration to passagemath.
fix
Use 'from passagemath.coxeter3 import Coxeter3' instead.
error ImportError: libcoxeter3.so: cannot open shared object file ↓
cause The coxeter3 shared library is not installed or not in LD_LIBRARY_PATH.
fix
Install coxeter3 binary (e.g., 'conda install -c conda-forge coxeter3' on Linux).
Warnings
breaking The coxeter3 interface is no longer part of SageMath; you must use passagemath packages. ↓
fix Install passagemath-coxeter3 and import from passagemath.coxeter3.
gotcha The coxeter3 system must be separately installed (e.g., via conda or system package). pip install only installs the Python interface. ↓
fix Ensure coxeter3 binary is available on $PATH or installed via system package manager.
Imports
- Coxeter3 wrong
from sage.interfaces.coxeter3 import Coxeter3correctfrom passagemath.coxeter3 import Coxeter3
Quickstart
from passagemath.coxeter3 import Coxeter3
cox = Coxeter3('H3')
w = cox.from_reduced_word([1,2,1,3])
print(w.length())