SnapPy is a package for studying the topology and geometry of 3-manifolds, with a focus on hyperbolic structures. It is based on the SnapPea kernel written by Jeff Weeks.
>>> from snappy.snap.t3mlite import Mcomplex
>>> Mcomplex('4_1').snappy_manifold()
results in
ModuleNotFoundError: No module named 'StringIO'
due to an import StringIO in snap/t3mlite/mcomplex.py which does not work in Python 3 as this module was renamed to io. This was tested in Python 3.7.0 with SnapPy 2.7
In Python 3, running
results in
due to an
import StringIO
insnap/t3mlite/mcomplex.py
which does not work in Python 3 as this module was renamed toio
. This was tested in Python 3.7.0 with SnapPy 2.7