Hi everyone,
I was trying to install and initialize Pumas on another desktop and encountered the following error during the final step of installation:
Failed to initialize Pumas@2.7.0
Error: UndefVarError(:project_resolve_hash, 0x000000000000970b, Pkg.Types)
When I attempted to start Pumas afterward, this error appeared:
ERROR: ArgumentError: Package Pumas not found in current path.
- Run
import Pkg; Pkg.add("Pumas") to install the Pumas package.
Stacktrace:
[1] macro expansion
@ .\loading.jl:2375 [inlined]
[2] macro expansion
@ .\lock.jl:376 [inlined]
[3] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2358
[4] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2334
[5] eval(m::Module, e::Any)
@ Core .\boot.jl:489
I’ve already uninstalled previous Pumas versions and deleted their root folders in AppData, but the issue still persists.
Could anyone please advise how to resolve this problem?
Thanks in advance for your help!
Michael
2
Hi @Bovornpat,
This is the same as reported in Julia +Pumas@2.7.0 installation error: UndefVarError: `project_resolve_hash` not defined in `Pkg.Types` - #3 by Michael, please either follow the instructions there (use Julia 1.11 as your default Juliaup channel) or wait until the fix is released to avoid needing the workaround.
Michael
3
@Bovornpat a fix has been release, please do the following and let me know if it is resolved after doing that:
- Open the Command Palette
- Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux)
- Run the List Versions command
- Type “Pumas: List Versions” and press Enter
- Select the Refresh option
- In the menu that appears, click on “Refresh”
- It should be near the top of the list, right below “Install New Version”
- Wait for the refresh to complete
- You’ll see a progress notification: “Refreshing PumasProductManager.jl…”
- This may take a few seconds
Hi @Michael ,
Problem solved. Pumas is working properly on my other desktop now. Thank you so much! Really appreciate your help.