-
Notifications
You must be signed in to change notification settings - Fork 57
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
precompile conda failure #104
Comments
What does |
More informative error message for #104
Closing unless this issue re-appears. |
I have a precompile Conda failure with Julia 1.3.1 on Win10 , installed for local user. |
I'm newbie in Julia and I have similar problem.
@stevengj when I type
I can't understand does Conda.jl install conda.exe or I have to preinstall it by myself? |
I just found that I can build |
I'm getting the same on the Plots.jl documentation build. Is there some workaround? |
Now I have the same problem https://github.com/frankier/ComputerAdaptiveTesting.jl/actions/runs/3408009528/jobs/5668188461 Pasting the error because GitHub actions will delete it at some point
There have also been successful runs https://github.com/frankier/ComputerAdaptiveTesting.jl/actions/runs/3403780584/jobs/5660539740 Did either of you manage to fix it or otherwise workaround it? |
Same here: I cannot have PyPlot installed in CI
(link) though presumably PyPlot's own CI does run succesfully |
It looks like the best chance of solving this would be to add https://github.com/mxschmitt/action-tmate before the failing bit (or is it possible to run it "on-fail"?) Then we could go in and poke around in /home/runner and /home/runner/.julia to try and figure out what happened. I will note that I had a slightly "model-challenging" moment with regards to Github Actions when reading https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#file-systems . This says that What's happening is that an empty directory is made here and looked for here. Between the build script and the pre-compile script, the directory has gone missing. This could be worked around in any one of the following ways:
I do not know what exactly is happening, but one possibility is that Another possibility is that the problem occurs because the built Conda package, including @stevengj The problem seems to be persistent, and I believe there are some paths to either a proper fix, or at least a workaround, so perhaps this issue could be reopened? |
Same problem here, this problem should be solved seriously. |
I agree that there is an issue here regarding a directory that goes missing on Github Actions CI. In my case, I wanted to install a pip-only package when building package documentation to show-off and test Python interoperability, so I also encountered the following error similar to the original:
However, by forcing PyCall.jl to (re)build in my CI script I was able to get this to work
I made it print some of the paths when working and I get
|
The julia environment worked out fine on my ubuntu, but failed on server.
ERROR: LoadError: ArgumentError: Path to conda environment is not valid.
Stacktrace:
[1] prefix(::String) at /home/lamda/.julia/v0.6/Conda/src/Conda.jl:59
[2] include_from_node1(::String) at ./loading.jl:569
[3] include(::String) at ./sysimg.jl:14
[4] anonymous at ./:2
while loading /home/lamda/.julia/v0.6/Conda/src/Conda.jl, in expression starting on line 64
ERROR: LoadError: Failed to precompile Conda to /home/lamda/.julia/lib/v0.6/Conda.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] anonymous at ./:2
while loading /home/lamda/.julia/v0.6/PyCall/src/PyCall.jl, in expression starting on line 28
ERROR: LoadError: Failed to precompile PyCall to /home/lamda/.julia/lib/v0.6/PyCall.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] anonymous at ./:2
while loading /home/lamda/.julia/v0.6/PyPlot/src/PyPlot.jl, in expression starting on line 5
ERROR: LoadError: Failed to precompile PyPlot to /home/lamda/.julia/lib/v0.6/PyPlot.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:490
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] process_options(::Base.JLOptions) at ./client.jl:305
[7] _start() at ./client.jl:371
while loading /home/lamda/huhz/client.jl, in expression starting on line 2
The text was updated successfully, but these errors were encountered: