-
-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pluto ignores the Julia package settings #3035
Comments
Thank you for the report, I don't think Pluto currently has support for |
This seems to cause problems with non-ascii user folder names on windows, which came up here: https://stackoverflow.com/questions/79032378/big-problems-caused-by-chinese-usernames-in-julia |
So Pluto installs packages a second time? But I want Pluto to use the packages that are already installed for Julia. How can I specify the path in which Pluto installs packages? |
This is no problem, as I assure to use ASCII-only chars in the path. The bug here is that Pluto ignores the However, the idea of using |
Pluto supports And package installs and precompiles indeed use the custom depot. @donovaly Can you post an example (video, screenshot etc) where you show us what happened? I suspect that issues like stackoverflow.com/questions/79032378/big-problems-caused-by-chinese-usernames-in-julia are caused by other packages that have |
ah i see! the log you see there is just showing where the project.toml is stored (based on the TMPDIR variable which is on C by default), but the depot is still used for installs and compilation. Check out the Pkg.jl docs to learn more about the difference between the environment files (project.toml) and the depot files. Try calling pkgdir(Example) in the notebook. |
When I use the REPL or VS Code and e.g. run Nothing is added of installed or precompiled because printf is already installed and precompiled.
Why are packages installed an precompiled? And also, why does Pluto create a new folder in |
I am a new user. As I don't have much disk space left at drive C:, I installed Julia to the drive J:, which is an external hard drive. To assure that Julia installs all its packages here, I setup the system variable
JULIA_DEPOT_PATH
to this:J:\Julia-1.11\Packages
This works well for Julia as when I install a package using Julia's REPL, I get the packages installed indeed in
J:\Julia-1.11\Packages
.But when I start Pluto, my package settings are ignored. It does not take into account that most packages are already installed and it installs them again, this time in
C:\Users\>username>
Maybe I misunderstood the concept of Pluto. I thought it runs Julia but it seems it is doing its own thing, ignoring any setting of Julia (see also my issue about the threading).
The text was updated successfully, but these errors were encountered: