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

How to supress a message related to scikit-learn? #773

Closed
namannimmo10 opened this issue Apr 18, 2024 · 1 comment
Closed

How to supress a message related to scikit-learn? #773

namannimmo10 opened this issue Apr 18, 2024 · 1 comment
Labels
locked [bot] locked due to inactivity

Comments

@namannimmo10
Copy link

namannimmo10 commented Apr 18, 2024

I get this message while I build (and run) an installer with conda constructor,

Preparing transaction: done
Executing transaction: |
/

    Installed package of scikit-learn can be accelerated using scikit-learn-intelex.
    More details are available here: https://intel.github.io/scikit-learn-intelex

    For example:

        $ conda install scikit-learn-intelex
        $ python -m sklearnex my_application.py



done
installation finished.
Thank you for installing dials-installer!

construct.yaml is as simple as:

name: dials-installer
version: "3.18.0"
channels:
  - defaults
installer_type: all
environment_file: environment.yml
initialize_by_default: true

Apparently this message about scikit-learn is common.
Is there a way to suppress it? It is misleading the users of this installer.
Should I pass a post installation script or is there a better workaround? Thanks!

@marcoesters
Copy link
Contributor

There is no way to suppress this using constructor because this is part of the package installation process. This was part of the post-install script for the scikit-learn package for Anaconda. The newest builds of v1.3.0 should not have this message though, so ensure that you are using that version and that build hash of the package ends in _1 and _2.

Since this is not related to constructor, I will go ahead and close. If this doesn't answer your questions, please contact Anaconda at ContinuumIO/anaconda-issues

@marcoesters marcoesters closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2024
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Oct 16, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
Archived in project
Development

No branches or pull requests

2 participants