Amset run error

Hello Alex! After compiling AMSET, I tried to run the example using amset run, and the following error occurred. I tried to solve it but it didn’t work, and I hope you can answer it. I checked the environment and dependencies and there seems to be no problem.

/$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$$ /$$$$$$$$
/$$__ $$| $$$ /$$$ /$$__ $$| $$/| $$/
| $$ \ $$| $$$$ /$$$$| $$ __/| $$ | $$
| $$$$$$$$| $$ $$/$$ $$| $$$$$$ | $$$$$ | $$
| $$
_ $$| $$ $$$| $$ ____ $$| $$/ | $$
| $$ | $$| $$\ $ | $$ /$$ \ $$| $$ | $$
| $$ | $$| $$ / | $$| $$$$$$/| $$$$$$$$ | $$
|
/ |/|/ |/ _/ |___/ |/

                                                v0.4.20

  Ganose, A. M., Park, J., Faghaninia, A., Woods-Robinson,
  R., Persson, K. A., Jain, A. Efficient calculation of
  carrier scattering rates from first principles.
  Nat. Commun. 12, 2222 (2021)

amset starting on 30 Mar 2024 at 17:34


Run parameters:
  - scattering_type: ['IMP', 'ADP']
  - doping: [-1.99e+14 -2.20e+15 -1.72e+16 -1.86e+17 -1.46e+18 -4.39e+18]
  - temperatures: [300]
  - bandgap: 1.14
  - soc: False
  - zero_weighted_kpoints: prefer
  - interpolation_factor: 50
  - wavefunction_coefficients: wavefunction.h5
  - use_projections: False
  - unity_overlap: False
  - free_carrier_screening: False
  - high_frequency_dielectric: 
      [[ 11.70   0.00   0.00]
       [  0.00  11.70   0.00]
       [  0.00   0.00  11.70]]
  - static_dielectric: 
      [[ 11.70   0.00   0.00]
       [  0.00  11.70   0.00]
       [  0.00   0.00  11.70]]
  - elastic_constant: 
      [[ 144.0   53.0   53.0    0.0    0.0    0.0]
       [  53.0  144.0   53.0    0.0    0.0    0.0]
       [  53.0   53.0  144.0    0.0    0.0    0.0]
       [   0.0    0.0    0.0   75.0    0.0    0.0]
       [   0.0    0.0    0.0    0.0   75.0    0.0]
       [   0.0    0.0    0.0    0.0    0.0   75.0]]
  - deformation_potential: deformation.h5
  - defect_charge: 1
  - compensation_factor: 2
  - energy_cutoff: 1.5
  - fd_tol: 0.05
  - dos_estep: 0.01
  - symprec: 0.01
  - nworkers: -1
  - cache_wavefunction: True
  - calculate_mobility: True
  - separate_mobility: True
  - mobility_rates_only: False
  - file_format: json
  - write_input: False
  - write_mesh: True
  - print_log: True
  - write_log: True


~~~~~~~~~~~~~~~~~~~~~~~~~~~~ STRUCTURE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Structure information:
  - formula: Si
  - # sites: 2
  - space group: Fd3-m

Lattice:
  - a, b, c [angstrom]: 3.87, 3.87, 3.87
  - a, b, y [deg]: 60, 60, 60


~~~~~~~~~~~~~~~~~~~~~~~~~~ BAND STRUCTURE ~~~~~~~~~~~~~~~~~~~~~~~~~

Input band structure information:
  - # bands: 40
  - # k-points: 195
  - Fermi level: 5.655 eV
  - spin polarized: False
  - metallic: False

Band gap:
  - indirect band gap: 0.623 eV
  - direct band gap: 2.556 eV
  - direct k-point: [0.00, 0.00, 0.00]

Valence band maximum:
  - energy: 5.618 eV
  - k-point: [0.00, 0.00, 0.00]
  - band indices: 2, 3, 4

Conduction band minimum:
  - energy: 6.240 eV
  - k-point: [0.44, 0.44, 0.00]
  - band indices: 5


~~~~~~~~~~~~~~~~~~~~~~~~~~ INTERPOLATION ~~~~~~~~~~~~~~~~~~~~~~~~~~

Getting band interpolation coefficients
  - time: 10.2984 s

Interpolation parameters:
  - k-point mesh: 105x105x105
  - energy cutoff: 1.5 eV

Interpolating spin-up bands 2-6
  - time: 1.4457 s

bandgap set to 1.140 eV, applying scissor of 0.524 eV

Generating tetrahedron mesh vertices
  - time: 10.2691 s

Initializing tetrahedron band structure
  - time: 3.9379 s

Initializing momentum relaxation time factor calculator

Initializing wavefunction overlap calculator

Desymmetrizing k-point mesh
  - Found initial mesh: 18.000 x 18.000 x 18.000
  - Integer mesh: 18 x 18 x 18
  - Using 48 symmetry operations

Desymmetrizing wavefunction coefficients
  - time: 0.7620 s


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DOS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

DOS parameters:
  - emin: -2.39 eV
  - emax: 11.79 eV
  - dos weight: 2
  - n points: 1417

Generating tetrahedral DOS:
  - time: 14.2664 s

Intrinsic DOS Fermi level: 5.9254 eV

DOS contains 6.001 electrons

Calculated Fermi levels:

  conc [cm-3]    temp [K]    E_fermi [eV]
-------------  ----------  --------------
    -1.99e+14       300.0          6.1839
    -2.20e+15       300.0          6.2461
    -1.72e+16       300.0          6.2992
    -1.86e+17       300.0          6.3608
    -1.46e+18       300.0          6.4144
    -4.39e+18       300.0          6.4437

Calculated Fermi-Dirac cut-offs:
  - min: 6.492 eV
  - max: 6.722 eV


~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SCATTERING ~~~~~~~~~~~~~~~~~~~~~~~~~~~

Scattering mechanisms to be calculated: IMP, ADP

Inverse screening length (b) and impurity concentration (N_i):

  conc [cm-3]    temp [K]    b2 [a^-2]    N_i [cm-3]
-------------  ----------  -----------  ------------
    -1.99e+14       300.0     3.33e-08      3.98e+14
    -2.20e+15       300.0     3.69e-07      4.40e+15
    -1.72e+16       300.0     2.88e-06      3.44e+16
    -1.86e+17       300.0     3.11e-05      3.72e+17
    -1.46e+18       300.0     2.41e-04      2.92e+18
    -4.39e+18       300.0     7.03e-04      8.78e+18

Initializing deformation potential interpolator


  ERROR: amset exiting on 30 Mar 2024 at 17:35
Traceback (most recent call last):
  File "/public/home/ywyao_wlxy/anaconda3/envs/amset/bin/amset", 
line 10, in <module>
    sys.exit(cli())
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/amset/tools/run.py", line 139, in run
    runner.run()
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/amset/core/run.py", line 65, in run
    mem_usage, (amset_data, usage_stats) = memory_usage(
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/memory_profiler.py", line 379, in memory_usage
    returned = f(*args, **kw)
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/amset/core/run.py", line 120, in _run_wrapper
    amset_data, scattering_time = self._do_scattering(amset_data)
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/amset/core/run.py", line 264, in _do_scattering
    scatter = ScatteringCalculator(
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/amset/scattering/calculate.py", line 177, in __init__
    ] = self.amset_data.overlap_calculator.get_coefficients(
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/amset/interpolation/wavefunction.py", line 88, in 
get_coefficients
    interp_coeffs = self.interpolate(spin, bands, kpoints)
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/amset/interpolation/periodic.py", line 147, in interpolate
    interp_data.real = eval_linear(grid, data.real, v, 
xto.LINEAR).reshape(
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/numba/core/dispatcher.py", line 468, in _compile_for_args
    error_rewrite(e, 'typing')
  File 
"/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/numba/core/dispatcher.py", line 409, in error_rewrite
    raise e.with_traceback(None)
numba.core.errors.TypingError: Failed in nopython mode pipeline 
(step: nopython frontend)
e[1me[1me[1mNo implementation of function Function(<function 
_eval_linear at 0x7f36a10a80d0>) found for signature:
 
 >>> _eval_linear(UniTuple(Tuple(float64, float64, int64) x 4), 
array(float64, 5d, A), array(float64, 2d, C), Tuple(UniTuple(none x
 1), UniTuple(none x 2)))
 
There are 8 candidate implementations:
e[1m  - Of which 2 did not match due to:
  Overload in function '__eval_linear': File: 
interpolation/splines/eval_splines.py: Line 178.
    With argument(s): '(UniTuple(Tuple(float64, float64, int64) x 
4), array(float64, 5d, A), array(float64, 2d, C), 
Tuple(UniTuple(none x 1), UniTuple(none x 2)))':e[0m
e[1m   Rejected as the implementation raised a specific error:
     TypingError: e[1mtoo many positional argumentse[0me[0m
  raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/numba/core/typing/templates.py:784
e[1m  - Of which 1 did not match due to:
  Overload in function '__eval_linear': File: 
interpolation/splines/eval_splines.py: Line 186.
    With argument(s): '(UniTuple(Tuple(float64, float64, int64) x 
4), array(float64, 5d, A), array(float64, 2d, C), 
Tuple(UniTuple(none x 1), UniTuple(none x 2)))':e[0m
e[1m   Rejected as the implementation raised a specific error:
     TypingError: Failed in nopython mode pipeline (step: nopython 
frontend)
   e[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1mFailed in 
nopython mode pipeline (step: nopython frontend)
   e[1me[1me[1mNo implementation of function Function(<function 
_eval_spline at 0x7f36a10a5dc0>) found for signature:
    
    >>> _eval_spline(UniTuple(Tuple(float64, float64, int64) x 4), 
array(float64, 5d, A), array(float64, 2d, C), out=none, 
order=Literal[int](1), diff=Literal[str](None), 
extrap_mode=Literal[str](linear))
    
   There are 2 candidate implementations:
   e[1m  - Of which 1 did not match due to:
     Overload in function '__eval_spline': File: 
interpolation/splines/eval_splines.py: Line 97.
       With argument(s): '(UniTuple(Tuple(float64, float64, int64) 
x 4), array(float64, 5d, A), array(float64, 2d, C), out=none, 
order=int64, diff=unicode_type, extrap_mode=unicode_type)':e[0m
   e[1m   Rejected as the implementation raised a specific error:
        AttributeError: 'Integer' object has no attribute 
'literal_value'e[0m
     raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py:116
   e[1m  - Of which 1 did not match due to:
     Overload in function '__eval_spline': File: 
interpolation/splines/eval_splines.py: Line 97.
       With argument(s): '(UniTuple(Tuple(float64, float64, int64) 
x 4), array(float64, 5d, A), array(float64, 2d, C), out=none, 
order=Literal[int](1), diff=Literal[str](None), 
extrap_mode=Literal[str](linear))':e[0m
   e[1m   Rejected as the implementation raised a specific error:
        Exception: (<class 'NameError'>, NameError("name 'unicode' 
is not defined at line 20 column 24"), <traceback object at 
0x7f357e52c8c0>)e[0m
     raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/tempita/__init__.py:344
   e[0m
   e[0me[1mDuring: resolving callee type: Function(<function 
_eval_spline at 0x7f36a10a5dc0>)e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (163)
   e[0m
   e[1m
   File "../../../../../../anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py", line 163:e[0m
   e[1mdef eval_spline(grid, C, points, out=None, order=1, 
diff="None", extrap_mode="linear"):
       <source elided>
       extrap_ = numba.literally(extrap_mode)
   e[1m    return _eval_spline(grid, C, points, out=out, order=k, 
diff=dd, extrap_mode=extrap_)
   e[0m    e[1m^e[0me[0m
   
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[1m
   File "../../../../../../anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py", line 199:e[0m
   e[1mdef __eval_linear(grid, C, points, extrap_mode):
       <source elided>
   
   e[1m    return lambda grid, C, points, extrap_mode: eval_spline(
   e[0m    e[1m^e[0me[0m
e[0m
  raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/numba/core/typeinfer.py:1086
e[1m  - Of which 1 did not match due to:
  Overload in function '__eval_linear': File: 
interpolation/splines/eval_splines.py: Line 186.
    With argument(s): '(UniTuple(Tuple(float64, float64, int64) x 
4), array(float64, 5d, A), array(float64, 2d, C), 
Tuple(UniTuple(none x 1), UniTuple(none x 2)))':e[0m
e[1m   Rejected as the implementation raised a specific error:
     TypingError: Failed in nopython mode pipeline (step: nopython 
frontend)
   e[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1m
Failed in nopython mode pipeline (step: nopython frontend)
   e[1me[1me[1mNo implementation of function Function(<function 
_eval_spline at 0x7f36a10a5dc0>) found for signature:
    
    >>> _eval_spline(UniTuple(Tuple(float64, float64, int64) x 4), 
array(float64, 5d, A), array(float64, 2d, C), out=none, 
order=Literal[int](1), diff=Literal[str](None), 
extrap_mode=Literal[str](linear))
    
   There are 2 candidate implementations:
   e[1m  - Of which 1 did not match due to:
     Overload in function '__eval_spline': File: 
interpolation/splines/eval_splines.py: Line 97.
       With argument(s): '(UniTuple(Tuple(float64, float64, int64) 
x 4), array(float64, 5d, A), array(float64, 2d, C), out=none, 
order=int64, diff=unicode_type, extrap_mode=unicode_type)':e[0m
   e[1m   Rejected as the implementation raised a specific error:
        AttributeError: 'Integer' object has no attribute 
'literal_value'e[0m
     raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py:116
   e[1m  - Of which 1 did not match due to:
     Overload in function '__eval_spline': File: 
interpolation/splines/eval_splines.py: Line 97.
       With argument(s): '(UniTuple(Tuple(float64, float64, int64) 
x 4), array(float64, 5d, A), array(float64, 2d, C), out=none, 
order=Literal[int](1), diff=Literal[str](None), 
extrap_mode=Literal[str](linear))':e[0m
   e[1m   Rejected as the implementation raised a specific error:
        Exception: (<class 'NameError'>, NameError("name 'unicode' 
is not defined at line 20 column 24"), <traceback object at 
0x7f357e52c8c0>)e[0m
     raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/tempita/__init__.py:344
   e[0m
   e[0me[1mDuring: resolving callee type: Function(<function 
_eval_spline at 0x7f36a10a5dc0>)e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (163)
   e[0m
   e[1m
   File "../../../../../../anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py", line 163:e[0m
   e[1mdef eval_spline(grid, C, points, out=None, order=1, 
diff="None", extrap_mode="linear"):
       <source elided>
       extrap_ = numba.literally(extrap_mode)
   e[1m    return _eval_spline(grid, C, points, out=out, order=k, 
diff=dd, extrap_mode=extrap_)
   e[0m    e[1m^e[0me[0m
   
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (199)
   e[0m
   e[1m
   File "../../../../../../anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py", line 199:e[0m
   e[1mdef __eval_linear(grid, C, points, extrap_mode):
       <source elided>
   
   e[1m    return lambda grid, C, points, extrap_mode: eval_spline(
   e[0m    e[1m^e[0me[0m
e[0m
  raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/numba/core/typeinfer.py:1086
e[1m  - Of which 2 did not match due to:
  Overload in function '__eval_linear': File: 
interpolation/splines/eval_splines.py: Line 204.
    With argument(s): '(UniTuple(Tuple(float64, float64, int64) x 
4), array(float64, 5d, A), array(float64, 2d, C), 
Tuple(UniTuple(none x 1), UniTuple(none x 2)))':e[0m
e[1m   Rejected as the implementation raised a specific error:
     TypingError: e[1mmissing a required argument: 
'extrap_mode'e[0me[0m
  raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/numba/core/typing/templates.py:784
e[1m  - Of which 1 did not match due to:
  Overload in function '__eval_linear': File: 
interpolation/splines/eval_splines.py: Line 221.
    With argument(s): '(UniTuple(Tuple(float64, float64, int64) x 
4), array(float64, 5d, A), array(float64, 2d, C), 
Tuple(UniTuple(none x 1), UniTuple(none x 2)))':e[0m
e[1m   Rejected as the implementation raised a specific error:
     TypingError: Failed in nopython mode pipeline (step: nopython 
frontend)
   e[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1mFailed in 
nopython mode pipeline (step: nopython frontend)
   e[1me[1me[1mNo implementation of function Function(<function 
_eval_spline at 0x7f36a10a5dc0>) found for signature:
    
    >>> _eval_spline(UniTuple(Tuple(float64, float64, int64) x 4), 
array(float64, 5d, A), array(float64, 2d, C), 
out=Tuple(UniTuple(none x 1), UniTuple(none x 2)), 
order=Literal[int](1), diff=Literal[str](None), 
extrap_mode=Literal[str](linear))
    
   There are 2 candidate implementations:
   e[1m    - Of which 1 did not match due to:
       Overload in function '__eval_spline': File: 
interpolation/splines/eval_splines.py: Line 97.
         With argument(s): '(UniTuple(Tuple(float64, float64, 
int64) x 4), array(float64, 5d, A), array(float64, 2d, C), 
out=Tuple(UniTuple(none x 1), UniTuple(none x 2)), order=int64, 
diff=unicode_type, extrap_mode=unicode_type)':e[0m
   e[1m     Rejected as the implementation raised a specific error:
          AttributeError: 'Integer' object has no attribute 
'literal_value'e[0m
     raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py:116
   e[1m    - Of which 1 did not match due to:
       Overload in function '__eval_spline': File: 
interpolation/splines/eval_splines.py: Line 97.
         With argument(s): '(UniTuple(Tuple(float64, float64, 
int64) x 4), array(float64, 5d, A), array(float64, 2d, C), 
out=Tuple(UniTuple(none x 1), UniTuple(none x 2)), 
order=Literal[int](1), diff=Literal[str](None), 
extrap_mode=Literal[str](linear))':e[0m
   e[1m     Rejected as the implementation raised a specific error:
          Exception: (<class 'NameError'>, NameError("name 
'unicode' is not defined at line 20 column 24"), <traceback object 
at 0x7f357e4b1e80>)e[0m
     raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/tempita/__init__.py:344
   e[0m
   e[0me[1mDuring: resolving callee type: Function(<function 
_eval_spline at 0x7f36a10a5dc0>)e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (163)
   e[0m
   e[1m
   File "../../../../../../anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py", line 163:e[0m
   e[1mdef eval_spline(grid, C, points, out=None, order=1, 
diff="None", extrap_mode="linear"):
       <source elided>
       extrap_ = numba.literally(extrap_mode)
   e[1m    return _eval_spline(grid, C, points, out=out, order=k, 
diff=dd, extrap_mode=extrap_)
   e[0m    e[1m^e[0me[0m
   
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (224)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (224)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (224)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (224)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (224)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (224)
   e[0m
   e[1m
   File "../../../../../../anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py", line 224:e[0m
   e[1mdef __eval_linear(grid, C, points, out):
       <source elided>
   
   e[1m    return lambda grid, C, points, out: eval_spline(
   e[0m    e[1m^e[0me[0m
e[0m
  raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/numba/core/typeinfer.py:1086
e[1m  - Of which 1 did not match due to:
  Overload in function '__eval_linear': File: 
interpolation/splines/eval_splines.py: Line 221.
    With argument(s): '(UniTuple(Tuple(float64, float64, int64) x 
4), array(float64, 5d, A), array(float64, 2d, C), 
Tuple(UniTuple(none x 1), UniTuple(none x 2)))':e[0m
e[1m   Rejected as the implementation raised a specific error:
     TypingError: Failed in nopython mode pipeline (step: nopython 
frontend)
   e[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1me[1m
Failed in nopython mode pipeline (step: nopython frontend)
   e[1me[1me[1mNo implementation of function Function(<function 
_eval_spline at 0x7f36a10a5dc0>) found for signature:
    
    >>> _eval_spline(UniTuple(Tuple(float64, float64, int64) x 4), 
array(float64, 5d, A), array(float64, 2d, C), 
out=Tuple(UniTuple(none x 1), UniTuple(none x 2)), 
order=Literal[int](1), diff=Literal[str](None), 
extrap_mode=Literal[str](linear))
    
   There are 2 candidate implementations:
   e[1m    - Of which 1 did not match due to:
       Overload in function '__eval_spline': File: 
interpolation/splines/eval_splines.py: Line 97.
         With argument(s): '(UniTuple(Tuple(float64, float64, 
int64) x 4), array(float64, 5d, A), array(float64, 2d, C), 
out=Tuple(UniTuple(none x 1), UniTuple(none x 2)), order=int64, 
diff=unicode_type, extrap_mode=unicode_type)':e[0m
   e[1m     Rejected as the implementation raised a specific error:
          AttributeError: 'Integer' object has no attribute 
'literal_value'e[0m
     raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py:116
   e[1m    - Of which 1 did not match due to:
       Overload in function '__eval_spline': File: 
interpolation/splines/eval_splines.py: Line 97.
         With argument(s): '(UniTuple(Tuple(float64, float64, 
int64) x 4), array(float64, 5d, A), array(float64, 2d, C), 
out=Tuple(UniTuple(none x 1), UniTuple(none x 2)), 
order=Literal[int](1), diff=Literal[str](None), 
extrap_mode=Literal[str](linear))':e[0m
   e[1m     Rejected as the implementation raised a specific error:
          Exception: (<class 'NameError'>, NameError("name 
'unicode' is not defined at line 20 column 24"), <traceback object 
at 0x7f357e4b1e80>)e[0m
     raised from 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/tempita/__init__.py:344
   e[0m
   e[0me[1mDuring: resolving callee type: Function(<function 
_eval_spline at 0x7f36a10a5dc0>)e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (163)
   e[0m
   e[1m
   File "../../../../../../anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py", line 163:e[0m
   e[1mdef eval_spline(grid, C, points, out=None, order=1, 
diff="None", extrap_mode="linear"):
       <source elided>
       extrap_ = numba.literally(extrap_mode)
   e[1m    return _eval_spline(grid, C, points, out=out, order=k, 
diff=dd, extrap_mode=extrap_)
   e[0m    e[1m^e[0me[0m
   
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (224)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (224)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at 
/public/home/ywyao_wlxy/anaconda3/envs/amset/lib/python3.8/site-
packages/interpolation/splines/eval_splines.py (224)
   e[0m
   e[0me[1mDuring: resolving callee type: 
type(CPUDispatcher(<function eval_spline at 0x7f36a10a5f70>))e[0m
   e[0me[1mDuring: typing of call at