Skip to content

An optional dependency is not installed

Type
https://pyeconomics.dev/problems/missing-extra
HTTP status
501
Exit code
8 (missing extra)
Raised as
MissingOptionalDependencyError

What it means

An optional package the feature needs is not installed.

What to do

Install the extra the detail names, such as pip install 'pyeconomics[econometrics]'.

Every pyeconomics surface reports a failure as a problem in the form of RFC 9457: its type, title, HTTP status and detail, and the exit code the command line returns. A problem never holds a key, a file path, a host or an upstream URL. Every problem type.