-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I'm getting
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.1.rc2, Release Date: 2020-04-25 │
│ Using Python 3.7.3. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: import drg
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-608957877e7c> in <module>()
----> 1 import drg
/home/dimpase/work/sage-drg/drg/drg.py in <module>()
11 from sage.symbolic.relation import solve as _solve
12 from sage.symbolic.ring import SR
---> 13 from .array3d import Array3D
14 from .assoc_scheme import ASParameters
15 from .assoc_scheme import PolyASParameters
ImportError: attempted relative import with no known parent package
As you see, I am launching Sage in the package directory, so this ought to work (?) - but it does not. As we basically switched to Python 3 (the forthcoming release 9.1 will be the last to support both python 2 and 3), this seems to need some work.
But it could also be that I'm doing something silly and miss a necessary step before this is meant to work.
Metadata
Metadata
Assignees
Labels
No labels