Skip to content

bug importing SimpleGroup (?) #25

@dimpase

Description

@dimpase
 $ ./sage --pip install git+https://github.com/Robbie-H/CompGIT.git # should be the same as from a zip file
Collecting git+https://github.com/Robbie-H/CompGIT.git
  Cloning https://github.com/Robbie-H/CompGIT.git to /tmp/pip-req-build-sekfp9qh
  Running command git clone --filter=blob:none --quiet https://github.com/Robbie-H/CompGIT.git /tmp/pip-req-build-sekfp9qh
  Resolved https://github.com/Robbie-H/CompGIT.git to commit 423710785e668290e3c6f7a4038921eb57791a2c
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: CompGIT
  Building wheel for CompGIT (pyproject.toml) ... done
  Created wheel for CompGIT: filename=compgit-0.1-py3-none-any.whl size=44733 sha256=36f4b69d66d817e2607f072f9078b980111173e90e1de192e207ea21bd593ffb
  Stored in directory: /tmp/pip-ephem-wheel-cache-nq4xugnp/wheels/b1/81/cd/e11759d14d82bbfad75ea09514f41f5639110941dad29da1a9
Successfully built CompGIT
Installing collected packages: CompGIT
Successfully installed CompGIT-0.1
$ ./sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 10.7.beta8, Release Date: 2025-07-06              │
│ Using Python 3.13.3. Type "help()" for help.                       │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable.     ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: from CompGIT import *
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 1
----> 1 from CompGIT import *

File ~/software/sage-src/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/CompGIT/__init__.py:4
      2 from sage.all import WeylGroup #experimental purposes only
      3 from CompGIT import SimpleGroup
----> 4 from CompGIT import Git
      6 from SimpleGroup import (upper_triangular_entries,
      7                          lower_triangular_entries,
      8                          one_param_subgroup,
   (...)     15                          D_T_basis_constructor_from_gamma,
     16                          SimpleGroup)
     18 from Git import (proportional,
     19                  weights_matrix,
     20                  averageWeight,
     21                  GITProblem)

File ~/software/sage-src/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/CompGIT/Git.py:28
     25 from sage.sets.set import Set
     26 from sage.all import QuadraticField, matrix, vector, sqrt
---> 28 from SimpleGroup import SimpleGroup, one_param_subgroup
     31 K2 = QuadraticField(2, 'sqrt2')
     32 sqrt2 = K2.gen()

ModuleNotFoundError: No module named 'SimpleGroup'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions