You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that when upgrading to a new version of Julia, the packages from the previous version's environment are not recognized. This is because each minor and major Julia version (MAJOR.MINOR.PATCH) uses its own environment named vMAJOR.MINOR. When updating from one version to another, we switch from one environment to another, which doesn't contain any packages by default. This usually has to be done manually
From my understanding, the solution to this problem is to copy the environment folder (e.g., v1.1) and rename it to the new version (e.g., v1.3). Then, firing up the Julia REPL for the new version and executing ] instantiate ensures that everything is installed properly. reference
However, this manual process could be automated or at least prompted to the user during the upgrade process. It would be helpful if the upgrade process could ask the user whether they want to migrate the environment over to the new version such that all this is done automatically.
This would make the upgrade process smoother and less confusing, especially for new users who might not be aware of how Julia's environments work.
Thanks
Hello,
I've noticed that when upgrading to a new version of Julia, the packages from the previous version's environment are not recognized. This is because each minor and major Julia version (MAJOR.MINOR.PATCH) uses its own environment named vMAJOR.MINOR. When updating from one version to another, we switch from one environment to another, which doesn't contain any packages by default. This usually has to be done manually
From my understanding, the solution to this problem is to copy the environment folder (e.g., v1.1) and rename it to the new version (e.g., v1.3). Then, firing up the Julia REPL for the new version and executing ] instantiate ensures that everything is installed properly. reference
However, this manual process could be automated or at least prompted to the user during the upgrade process. It would be helpful if the upgrade process could ask the user whether they want to migrate the environment over to the new version such that all this is done automatically.
This would make the upgrade process smoother and less confusing, especially for new users who might not be aware of how Julia's environments work.
Thanks
Further details:
The text was updated successfully, but these errors were encountered: