Skip to content

Issue with executing lectures #16

@NamburiSrinath

Description

@NamburiSrinath

Hi,

Thanks for open sourcing CS336, this is an excellent material to learn :)

I am facing an issue when executing lectures - python execute.py -m lecture_06

Traceback (most recent call last):
  File "/Desktop/spring2025-lectures/execute.py", line 13, in <module>
    from execute_util import Rendering, pop_renderings
  File "/Desktop/spring2025-lectures/execute_util.py", line 12, in <module>
    from arxiv_util import is_arxiv_link, arxiv_reference
  File "/Desktop/spring2025-lectures/arxiv_util.py", line 4, in <module>
    from reference import Reference
  File "/Desktop/spring2025-lectures/reference.py", line 4, in <module>
    class Reference:
  File "/Desktop/spring2025-lectures/reference.py", line 5, in Reference
    title: str | None = None
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

This most probably might be because of the packages, so is it possible to update the readme for initial setup.

Looking forward

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions