-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error in installConda() : conda installation failed with status code '2' #24
Comments
Is there any other error message? Because that could mean anything. |
There is no other error reporting information. This is the entire process.
|
Is your disk full? Do you have permissions to install software on the machine? Does |
See what |
@LTLA , This is the result of my following your instructions. Browse[6]> paste(c(tmploc, inst_args)) The parameter "status" may come from "status<- system2 (tmploc, inst_args)" or "status<- system2 (" bash ", inst_args)". Then I also ran these two sentences of code, hoping that this will help solve the problem. |
@vjcitn , There is still space on my disk. This is my personal computer, and I should have installation permissions. Is the example (basiliskRun) you mentioned the following code? I ran the following section and finally got the same error. my_env <- basilisk::BasiliskEnvironment(envname="my_env_name", res <- basilisk::basiliskRun(env=my_env, fun=function(args) { |
If you have never seen a response like that shown above, your system will need to be modified to allow user-level conda manipulations. |
@vjcitn , I really don't have the corresponding output. Errors are almost identical. I don't know why personal computer need to be modified to allow user-level conda. Is the change you said changed here(fig1)? I did not successfully correct this error.
bslskR> ## Don't show: |
What is the result of |
@vjcitn, the result of reticulate::py_config() is following:
|
You're using an out-of-date version. Latest basilisk.utils should pull down In any case, you need to figure out if the Conda installer runs at all on your computer. As I said, you need to extract the commands used by
Not tested, of course, but I will leave the rest to you. If this doesn't work on the command line, then it's not a basilisk problem, it's a conda problem, and that's beyond my ability to help. basilisk just wraps the conda installer at this point, so if the latter doesn't work, the former won't either. |
I've run into the same error on windows devel GHA: https://github.com/alanocallaghan/densvis/actions/runs/5884832224/job/15960238189 Not sure if exactly the same reason as on GHA, but the installer runs fine if I open it directly, but silently fails with the system2 call |
Seems like most basilisk dependencies are failing on palomino in bioc-devel with this error: I haven't checked the rest in detail, but it seems they either explicitly don't support windows, or they don't load conda during R CMD build/check I've tried switching conda versions with snifter, and anything past 4.12 doesn't work on windows. Does basilisk need any newer conda features? If we have to stick with 22+, then I'm going to have to remove windows support to get bioc checks to pass. |
After some investigation, it seems like the latest Miniconda windows installers no longer work in silent mode, because of course they don't. AFAICT this mode is still documented as being valid on the Conda help pages, so who knows. We can't disable silent mode because it would not be acceptable to force users to interact a point-and-click prompt, e.g., in the middle of some script. So it seems that the only solution is to roll back to the last Conda version that works. The only question is whether to do this for all OS's (for consistency) or only for Windows (so that the other OS's can have the benefit of using the latest Conda). I would prefer the former, and have done so in basilisk.utils 1.13.3. One can only hope that conda fixes the windows situation in subsequent releases. |
Possibly related: conda/conda#10611, though the suggested fix doesn't work. |
Hello, thank you very much for developing this software. I encountered the following error while running writeH5AD locally. How can I correct it?
The text was updated successfully, but these errors were encountered: