I just upgraded to the latest version v1.11.0, and failed to start the Julia.exe. Errors prompt like this:
How can I fix this?
I just upgraded to the latest version v1.11.0, and failed to start the Julia.exe. Errors prompt like this:
How can I fix this?
Finally, I figured out the problem after trying for several days. The above errors prompt because I used the portable version of ver1.11.0 in Win11, and meanwhile have the customer DEPOT_PATH located at “D:\Program Files\Julia\.julia”. By referring to When setting `JULIA_DEPOT_PATH` to `/path:`, omit the default user depot by maleadt · Pull Request #51448 · JuliaLang/julia · GitHub, the manner of the new version to expand the environment variable “JULIA_DEPOT_PATH”, if not empty, changes with never including “D:\Program Files\Julia\share\julia” anymore. Therefore, I add the default path “D:\Program Files\Julia\share\julia” to JULIA_DEPOT_PATH besides “D:\Program Files\Julia.julia”. Note that, JULIA_DEPOT_PATH only directed to “D:\Program Files\Julia.julia” will not include the default path “D:\Program Files\Julia\share\julia”, and result in the start errors.