Error in Pumas installation

Hello. I followed the steps for Pumas installation. I selected the new version of Pumas (Pumas@2.7). I got the following error. I cleared the entries in >settings.json file. But, when I tried to rerun the Pumas 2.7 installation, I am getting the same two errors. Any advice would be greatly appreciated.

image

PS C:\Users\aargi> > julia --project=@PumasProductManager “c:\Users\aargi.vscode\extensions\pumasai.pumas-0.0.5\julia-scripts\init-product.jl” “Pumas@2.7.0”
[ Info: You are using vanilla Julia, inorder to use Pumas, please start Julia with following commandline argument: -J"C:\Pumas-v2.5.1\Julia-1.9.3\lib\julia\sys.pumas.dll"
Initializing Pumas@2.7.0…

[ Info: initializing product as a global environment @Pumas@2.7.0.
[ Info: creating new Pumas@2.7.0 project at C:\Users\aargi\.julia\environments\Pumas@2.7.0.
[ Info: locating required packages.
Checking for new Julia versions
Installing Julia 1.11.5+0.x64.w64.mingw32
[ Info: instantiating and precompiling product.
[ Info: You are using vanilla Julia, inorder to use Pumas, please start Julia with following commandline argument: -J"C:\Pumas-v2.5.1\Julia-1.9.3\lib\julia\sys.pumas.dll"
ERROR: SystemError: opening file “C:\Users\aargi\+1.11.5~x64”: No such file or directory
Stacktrace:
[1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
@ Base .\error.jl:176
[2] #systemerror#82
@ .\error.jl:175 [inlined]
[3] systemerror
Nothing, append::Nothing)
@ Base .\iostream.jl:293
[5] open
@ .\iostream.jl:275 [inlined]
[6] open(f::Base.var"#418#419"{String}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\io.jl:393
[7] open
@ .\io.jl:392 [inlined]
[8] read
@ .\io.jl:473 [inlined]
[9] _include(mapexpr::Function, mod::Module, _path::String)
@ Base .\loading.jl:1959
[10] include(mod::Module, _path::String)
@ Base .\Base.jl:457
[11] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:307
[12] _start()
@ Base .\client.jl:522

Failed to initialize Pumas@2.7.0
Error: ProcessFailedException(Base.Process[Process(julia '+1.11.5~x64' --startup-file=no '--project=C:\Users\aargi\AppData\Local\Temp\jl_BQLBi4' 'C:\Users\aargi\AppData\Local\Temp\jl_i1QuLs\install.jl', ProcessExited(1))])
PS C:\Users\aargi> julia --project=@PumasProductManager “c:\Users\aargi.vscode\extensions\pumasai.pumas-0.0.5\julia-scripts\init-product.jl” “Pumas@2.7.0”
[ Info: You are using vanilla Julia, inorder to use Pumas, please start Julia with following commandline argument: -J"C:\Pumas-v2.5.1\Julia-1.9.3\lib\julia\sys.pumas.dll"
Initializing Pumas@2.7.0…

[ Info: initializing product as a global environment @Pumas@2.7.0.
[ Info: creating new Pumas@2.7.0 project at C:\Users\aargi\.julia\environments\Pumas@2.7.0.
[ Info: locating required packages.
Checking for new Julia versions
‘1.11.5~x64’ is already installed.
[ Info: instantiating and precompiling product.
[ Info: You are using vanilla Julia, inorder to use Pumas, please start Julia with following commandline argument: -J"C:\Pumas-v2.5.1\Julia-1.9.3\lib\julia\sys.pumas.dll"
ERROR: SystemError: opening file “C:\Users\aargi\+1.11.5~x64”: No such file or directory
Stacktrace:
[1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
@ Base .\error.jl:176
[2] #systemerror#82
@ .\error.jl:175 [inlined]
[3] systemerror
@ .\error.jl:175 [inlined]
[4] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
@ Base .\iostream.jl:293
[5] open
@ .\iostream.jl:275 [inlined]
[6] open(f::Base.var"#418#419"{String}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\io.jl:393
[7] open
@ .\io.jl:392 [inlined]
[8] read
@ .\io.jl:473 [inlined]
[9] _include(mapexpr::Function, mod::Module, _path::String)
@ Base .\loading.jl:1959
[10] include(mod::Module, _path::String)
@ Base .\Base.jl:457
[11] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:307
[12] _start()
@ Base .\client.jl:522

Failed to initialize Pumas@2.7.0
Error: ProcessFailedException(Base.Process[Process(julia '+1.11.5~x64' --startup-file=no '--project=C:\Users\aargi\AppData\Local\Temp\jl_Hnjh7M' 'C:\Users\aargi\AppData\Local\Temp\jl_eoLv03\install.jl', ProcessExited(1))])
PS C:\Users\aargi>

Morning @aargikar,

This suggests to me that there is a previous version of Pumas Desktop installed that is interfering with the new one. You’ll need to fully remove the previous installation from your system first. If you have already performed that step then there is likely some remaining bits on your system that have failed to uninstall correctly. Let me know if that is the case.

Hi Michael, I think I followed the directions on the website and I dont fully remember removing previous version of Pumas. Would you recommend fully removing Pumas and reinstalling v2.7?

Yes, you must remove the earlier Pumas Desktop software, remove any references to Pumas from your User Settings JSON file, and then follow the instructions in Desktop Installation · Pumas to upgrade.

Thank you. Could you please point me in the right direction on how to uninstall Pumas?

Pumas 2.7.0 installation error - #12 by andreasnoack contains details on doing that. Please take a look over that and it should help you through the uninstallation. Let me know if you need any clarification.

Hi Michael, I followed the directions. I removed the .julia folder and removed the entries from settings.json. Juliaup was installed, tried to install Pumas globally, but I am getting the same error when I select the Pumas 2.6 version. Below is the error. I also ran PS C:\Users\aargi> ls C:\Users\aargi.julia\environments

Directory: C:\Users\aargi\.julia\environments

Mode LastWriteTime Length Name


d----- 9/6/2025 12:12 PM Pumas@2.7.0
d----- 9/6/2025 12:04 PM PumasProductManager

PS C:\Users\aargi>

Error:

PS C:\Users\aargi> julia --project=@PumasProductManager “c:\Users\aargi.vscode\extensions\pumasai.pumas-0.0.5\julia-scripts\init-product.jl” “Pumas@2.7.0”
[ Info: You are using vanilla Julia, inorder to use Pumas, please start Julia with following commandline argument: -J"C:\Pumas-v2.5.1\Julia-1.9.3\lib\julia\sys.pumas.dll"
Initializing Pumas@2.7.0…

[ Info: initializing product as a global environment @Pumas@2.7.0.
[ Info: creating new Pumas@2.7.0 project at C:\Users\aargi\.julia\environments\Pumas@2.7.0.
[ Info: locating required packages.
Checking for new Julia versions
‘1.11.5~x64’ is already installed.
[ Info: instantiating and precompiling product.
[ Info: You are using vanilla Julia, inorder to use Pumas, please start Julia with following commandline argument: -J"C:\Pumas-v2.5.1\Julia-1.9.3\lib\julia\sys.pumas.dll"
ERROR: SystemError: opening file “C:\Users\aargi\+1.11.5~x64”: No such file or directory
Stacktrace:
[1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
@ Base .\error.jl:176
[2] #systemerror#82
@ .\error.jl:175 [inlined]
[3] systemerror
@ .\error.jl:175 [inlined]
[4] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
@ Base .\iostream.jl:293
[5] open
@ .\iostream.jl:275 [inlined]
[6] open(f::Base.var"#418#419"{String}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\io.jl:393
[7] open
@ .\io.jl:392 [inlined]
[8] read
@ .\io.jl:473 [inlined]
[9] _include(mapexpr::Function, mod::Module, _path::String)
@ Base .\loading.jl:1959
[10] include(mod::Module, _path::String)
@ Base .\Base.jl:457
[11] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:307
[12] _start()
@ Base .\client.jl:522

Failed to initialize Pumas@2.7.0
Error: ProcessFailedException(Base.Process[Process(julia '+1.11.5~x64' --startup-file=no '--project=C:\Users\aargi\AppData\Local\Temp\jl_MjMfVy' 'C:\Users\aargi\AppData\Local\Temp\jl_yRoaD8\install.jl', ProcessExited(1))])
PS C:\Users\aargi>

These lines mean that the removal is incomplete. Did you also go into “Add and remove programs” in Windows and uninstall Pumas Desktop?

Hi Michael, I didn’t remove through ‘Add or remove programs’. I’ll do that and repeat the steps. Thank you.

Hi Michael, I repeated the process as recommended. I was able to run until “set globally”. After that step, there are a few issues I am running into. The “Julia: Starting async tasks” seems to keep running. Also, when I try running “using Pumas”, I get an error as below. I tried to troubleshoot by following instructions in BE course: Pumas Installation, which went without issue. But when I go back to vscode using Pumas, I get the same error as before. I also noticed that Pumas is not showing up in Add/Remove programs.

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:2296 [inlined]
    [2] macro expansion
    @ .\lock.jl:273 [inlined]
    [3] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:2271
    [4] #invoke_in_world#3
    @ .\essentials.jl:1089 [inlined]
    [5] invoke_in_world
    @ .\essentials.jl:1086 [inlined]
    [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:2260

Also, on running ls C:\Users\aargi.julia\environments, I get the error below

ERROR: ParseError:

Error @ REPL[4]:1:3

ls C:\Users\aargi.julia\environments

└─────────────────────────────────┘ ── extra tokens after end of expression

Stacktrace:
[1] top-level scope
@ none:1

Please provide the contents of the “User Settings (JSON)” file. Open VSCode’s command palette and type that in, then open the top result. Copy and paste the entire contents of that file into your response here. That will help me to debug your issue.

Hi Michael, Here is the output from User settings-JSON file.
{
“julia.enableCrashReporter”: false,
“julia.executablePath”: “julia.exe +Pumas@2.7.0”,
“julia.environmentPath”: “C:\Users\aargi\.julia\environments\Pumas@2.7.0”,
“terminal.integrated.commandsToSkipShell”: [
“language-julia.interrupt”
],
“julia.symbolCacheDownload”: true,
“julia.persistentSession.alwaysCopy”: true,
“julia.enableTelemetry”: false
}

Resolved on a call.

The underlying issue was that the were a local VSCode .vscode/settings.json file that was overriding the julia.environmentPath value with one pointing to a local folder in the VSCode workspace that did not contain a Project.toml, hence the error shown when doing using Pumas, since the Pumas package was not added as a dependency in that particular Project.toml.

The solution was to remove the local .vscode/settings.json file so that the environmentPath was taken from the correctly set global setting.

For users that might run into this issue in future and come across this thread, check the active Julia environment by running import Pkg; Pkg.status(). This will print out the currently active environment and allow you to work out why using Pumas is failing.