QuantEcon · GitHub

Commit 5ca0512

mmckyclaude

and

authored

[house_auction] upgrade prettytable + wcwidth to fix wcwidth.width error (#937)

prettytable 3.18.0 (2026-06-22) calls wcwidth.width() and requires wcwidth>=0.3.5, but the anaconda base ships wcwidth 0.2.13 (no .width), and `!pip install prettytable` does not upgrade it, so the lecture fails with `AttributeError: module 'wcwidth' has no attribute 'width'` on a full build. Install with `-U prettytable wcwidth` so pip pulls a wcwidth (0.8.1) that exposes .width. Part of #935 (house_auction item; arviz items remain). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lectures

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -17,7 +17,7 @@ kernelspec:

1717

---

1818

tags: [hide-output]

1919

---

20-

!pip install prettytable

20+

!pip install -U prettytable wcwidth

2121

```

2222
2323

## Overview

Read the original on github.com ↗