Skip to content
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

Install 24.7.1(x64) on windows10/11 encounter: Failed to run pre_install #641

Closed
1 task done
zhaozhaofox opened this issue Sep 10, 2024 · 9 comments · Fixed by #647
Closed
1 task done

Install 24.7.1(x64) on windows10/11 encounter: Failed to run pre_install #641

zhaozhaofox opened this issue Sep 10, 2024 · 9 comments · Fixed by #647
Labels
bug Something isn't working windows

Comments

@zhaozhaofox
Copy link

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Install 24.7.1(x64) on windows10/11 encounter: Failed to run pre_install
Snipaste_2024-09-10_09-08-26

Installed packages

install error

Environment info

24.7.1
@zhaozhaofox zhaozhaofox added the bug Something isn't working label Sep 10, 2024
@hmaarrfk
Copy link
Contributor

Hmm i suspect it has to do with: https://github.com/conda-forge/miniforge/blob/main/Miniforge3/mambaforge_deprecation.bat

I suggest you use Miniforge3.exe while we resolve this issue.

I might delay 24.7.1-1 since that one has the brownouts and my intention is to have 1 (working) verison with warnings without brownouts.

@hmaarrfk hmaarrfk pinned this issue Sep 10, 2024
@jaimergp
Copy link
Member

Can you click on "Ignore" and right click on the text details under the progress bar, choose "Copy to clipboard" and paste the result here? I see some syntax errors behind the alert 🤔

@hmaarrfk
Copy link
Contributor

IMG_0524

@hmaarrfk
Copy link
Contributor

The nice thing is that you can "press ignore" and it will work....

@marcoesters
Copy link

The problem is that the else part of the statement is in a new line. It must be in the same line as the closing parenthesis.

You will also run into the issue that msg is not available on all Windows versions (I think home editions don't have it).

@hmaarrfk
Copy link
Contributor

hmm thank you for the notes we can likely fix the else part. not sure about the msg command.

Because you can "ignore" it, i'm somewhat even tempted to "ignore this" as a fading problem..... but isuruf reminded me that I shouldn't be so quick to ignore problems... though I really don't know what to do.....

@jaimergp
Copy link
Member

I can sketch a solution, sorry about the breakage. We don't really need to use msg.

@jaimergp jaimergp mentioned this issue Sep 19, 2024
5 tasks
@jaimergp
Copy link
Member

Added #647

@hmaarrfk hmaarrfk unpinned this issue Sep 22, 2024
@hmaarrfk
Copy link
Contributor

Thank you all. A new release of Mambaforge is coming.

We are in the process of releasing this, however, Mambaforge now being deprecated we are hoping this isn't going to be an issue for many users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Development

Successfully merging a pull request may close this issue.

4 participants