Skip to content

Video 1.2: note on 3'32: "package UIOP does not exist" #6

@vindarel

Description

@vindarel

The first time you run the hello function that calls uiop:getenv, if you get an error that says that

package UIOP does not exist

we discuss this issue 2 minutes later at 5'30.

The fix is to "require" the :uiop (or :asdf) package, that is shipped with every implementation, but not always ready to use:

CL-USER>  (require :uiop)

Typically, you would add it to your ~/.sbclrc.

(At the minute 5'30, we use the --script flag, but this flag does NOT load our init files. It is safe to manually "require" :asdf or :uiop in your scripts).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions