mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.96k stars 359 forks source link

`mamba` is unable to display the full string of `build number` #3533

Open NewUserHa opened 1 month ago

NewUserHa commented 1 month ago

Troubleshooting docs

Anaconda default channels

How did you install Mamba?

Micromamba

Search tried in issue tracker

N/A

Latest version of Mamba

Tried in Conda?

I do not have this problem with Conda, just with Mamba

Describe your issue

version: micromamba-2.0.2-0.tar.bz2

mamba repoquery search tensorflow
Getting repodata from channels...

warning  libmamba 'repo.anaconda.com', a commercial channel hosted by Anaconda.com, is used.

warning  libmamba Please make sure you understand Anaconda Terms of Services.

warning  libmamba See: https://legal.anaconda.com/policies/en/
pkgs/main/noarch                                            Using cache
warning  libmamba 'repo.anaconda.com', a commercial channel hosted by Anaconda.com, is used.

warning  libmamba Please make sure you understand Anaconda Terms of Services.

warning  libmamba See: https://legal.anaconda.com/policies/en/
pkgs/main/win-64                                            Using cache
warning  libmamba 'repo.anaconda.com', a commercial channel hosted by Anaconda.com, is used.

warning  libmamba Please make sure you understand Anaconda Terms of Services.

warning  libmamba See: https://legal.anaconda.com/policies/en/
pkgs/r/noarch                                               Using cache
warning  libmamba 'repo.anaconda.com', a commercial channel hosted by Anaconda.com, is used.

warning  libmamba Please make sure you understand Anaconda Terms of Services.

warning  libmamba See: https://legal.anaconda.com/policies/en/
pkgs/r/win-64                                               Using cache
warning  libmamba 'repo.anaconda.com', a commercial channel hosted by Anaconda.com, is used.

warning  libmamba Please make sure you understand Anaconda Terms of Services.

warning  libmamba See: https://legal.anaconda.com/policies/en/
pkgs/msys2/noarch                                           Using cache
warning  libmamba 'repo.anaconda.com', a commercial channel hosted by Anaconda.com, is used.

warning  libmamba Please make sure you understand Anaconda Terms of Services.

warning  libmamba See: https://legal.anaconda.com/policies/en/
pkgs/msys2/win-64                                           Using cache
conda-forge/noarch                                          Using cache
conda-forge/win-64                                          Using cache
 Name       Version Build                               Channel     Subdir
--------------------------------------------------------------------------------
 tensorflow 2.9.1   eigen_py310h7e6dd96_1 (+ 23 builds) pkgs        main
 tensorflow 2.8.2   eigen_py310h3184f71_0 (+ 11 builds) pkgs        main
 tensorflow 2.6.0   eigen_py37h37bbdb1_0  (+  8 builds) pkgs        main
 tensorflow 2.5.0   eigen_py37hba85c30_0  (+  8 builds) pkgs        main
 tensorflow 2.3.0   mkl_py37h04bc1aa_0    (+ 17 builds) pkgs        main
 tensorflow 2.10.0  eigen_py310h1d93ef9_0 (+ 10 builds) pkgs        main
 tensorflow 2.1.0   eigen_py36hdbbabfe_0  (+  5 builds) pkgs        main
 tensorflow 2.0.0   eigen_py36h457aea3_0  (+  5 builds) pkgs        main
 tensorflow 1.9.0   eigen_py35hb0e21f4_1  (+  5 builds) pkgs        main
 tensorflow 1.8.0   0                     (+  5 builds) pkgs        main
 tensorflow 1.7.1   0                                   pkgs        main
 tensorflow 1.7.0   0                                   pkgs        main
 tensorflow 1.6.0   py35_0                (+  1 builds) conda-forge conda-forge
 tensorflow 1.5.1   py35_0                (+  1 builds) conda-forge conda-forge
 tensorflow 1.5.0   py35_0                (+  1 builds) conda-forge conda-forge
 tensorflow 1.4.0   py35_0                (+  1 builds) conda-forge conda-forge
 tensorflow 1.3.0   py35_0                (+  1 builds) conda-forge conda-forge
 tensorflow 1.2.1   py35_0                (+  1 builds) conda-forge conda-forge
 tensorflow 1.2.0   py35_0                (+  1 builds) conda-forge conda-forge
 tensorflow 1.15.0  eigen_py36h932cce6_0  (+  5 builds) pkgs        main
 tensorflow 1.14.0  eigen_py36hf4fd08c_0  (+  9 builds) pkgs        main
 tensorflow 1.13.2  h21ff451_0                          conda-forge conda-forge
 tensorflow 1.13.1  eigen_py36hf0a88a9_0  (+ 14 builds) pkgs        main
 tensorflow 1.12.0  eigen_py36h67ac661_0  (+  2 builds) pkgs        main
 tensorflow 1.11.0  eigen_py36h346fd36_0  (+  2 builds) pkgs        main
 tensorflow 1.10.0  eigen_py35h38c8211_0  (+  7 builds) pkgs        main
 tensorflow 1.1.0   py35_0                              conda-forge conda-forge
 tensorflow 1.0.0   py35_0                              conda-forge conda-forge
 tensorflow 0.12.1  py35_1                (+  1 builds) conda-forge conda-forge

mamba info / micromamba info

No response

Logs

No response

environment.yml

No response

~/.condarc

No response

Hind-M commented 3 weeks ago

mamba repeatedly spam "warning libmamba 'repo.anaconda.com', a commercial channel hosted by Anaconda.com, is used." every time run command

The warning message is printed once as long as you use a channel from Anaconda. Here, it performs a search query from pkgs/main, pkgs/r and pkgs/msys2 (for noarch and win-64) which prints the warning 6 times, each time you run your command. This is very important so that the users are fully aware of the commercial use of such channels as several issues were encountered in the past.

need to install tensorflow 2.10 py10 gpu version, however unable to install the specific build , unless go to https://anaconda.org/anaconda/tensorflow/files?version=2.10.0 to copy and paste

The complete build string is displayed, but there could be others for the same version indeed.

To display all the builds, you can use:

mamba repoquery search tensorflow -v --pretty

NewUserHa commented 3 weeks ago

it will be better if the warning message is displayed no more than once each time run mamba, and can be turned off by users. because some packages or versions that conda-forge lacks but conda-main has, for example, tensorflow 2.10 py10 gpu.

conda default displays all versions and all build numbers/strings, that may be redundant, but if mamba want to improve, mamba may use tree to get rid of many repeated version numbers and still display all versions numbers and build numbers

xlionjuan commented 6 days ago

Please reduce the repeat or give the option to disable this.