QuantEcon / QuantEcon/lecture-python-advanced.myst

[interpolation] Package is outdated and cannot install

Open
#223 2 comments 0 reactions 1 assignee View on GitHub

@kp992 is already working on this.

Since Aug 25, 2025.

Dominant language
TeX
Stars
37
Forks
26
Avg merge
13d 22h
Merged PRs (30d)
2

Description

The interpolation package needs to be updated

Traceback (most recent call last):
  File "<python-input-0>", line 4, in <module>
    from interpolation.splines import eval_linear, UCGrid, nodes
  File "/Users/mmcky/anaconda3/envs/qe/lib/python3.13/site-packages/interpolation/splines/__init__.py", line 3, in <module>
    from .eval_splines import options, eval_linear, eval_cubic, eval_spline
  File "/Users/mmcky/anaconda3/envs/qe/lib/python3.13/site-packages/interpolation/splines/eval_splines.py", line 6, in <module>
    from .codegen import get_code_spline, source_to_function
  File "/Users/mmcky/anaconda3/envs/qe/lib/python3.13/site-packages/interpolation/splines/codegen.py", line 1, in <module>
    from .. import tempita
  File "/Users/mmcky/anaconda3/envs/qe/lib/python3.13/site-packages/interpolation/tempita/__init__.py", line 34, in <module>
    import cgi
ModuleNotFoundError: No module named 'cgi'

to install the the latest environment.

We have previously discussed reducing our dependencies and moving some of this functionality into quantecon.py

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.