Python 2.7.17 (default, Jul 20 2020, 15:37:01)
[GCC 7.5.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import emopt
Traceback (most recent call last):
File "", line 1, in
File "emopt/init.py", line 2, in
from . import adjoint_method, fdfd, fdtd, fomutils, grid, io, misc, modes, optimizer, \
File "emopt/adjoint_method.py", line 153, in
from builtins import range
ImportError: No module named builtins
when I import emopt:
Python 2.7.17 (default, Jul 20 2020, 15:37:01) [GCC 7.5.0] on linux2 Type "help", "copyright", "credits" or "license" for more information.