Skip to content

Missing package install prompt doesn't work when load is behind a macro #45082

Open

Description

1.7.0

julia> @time using GLMakie
 │ Package GLMakie not found, but a package named GLMakie is available from a registry. 
 │ Install package?
 │   (@v1.7) pkg> add GLMakie 
 └ (y/n) [y]:

1.7.2

julia> @time using GLMakie
ERROR: ArgumentError: Package GLMakie not found in current path.
- Run `import Pkg; Pkg.add("GLMakie")` to install the GLMakie package.
Stacktrace:

Master

julia> @time using GLMakie
ERROR: ArgumentError: Package GLMakie not found in current path.
- Run `import Pkg; Pkg.add("GLMakie")` to install the GLMakie package.
Stacktrace:

I guess this is an unfortunate side effect of the strategy used in #43457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    REPLJulia's REPL (Read Eval Print Loop)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions