Hello,
I get the following error when I try the example given by benjaminfjones at ask.sagemath.org_question_7922_export-to-c-code. (Replace _ with / to get the link)
NameError: name 'codegen' is not defined.
I am using the jupyter notebooks version of SageMath. The version of SageMath is 9.5.
Here's what the command window shows: SageMath version 9.5, Release Date: 2022-01-30 Using Python 3.10.6. Type "Help()" for help.
The OS is Linux Mint 21 Cinnamon Version 5.4.12. Linux Kernel Version 5.19.0-051900-generic.
Stephen