conda-forge / miniforge

A conda-forge distribution.
https://conda-forge.org/miniforge
Other
5.79k stars 309 forks source link

mamba prompts give letter/character salad #500

Open mluerig opened 9 months ago

mluerig commented 9 months ago

Solution to issue cannot be found in the documentation.

Issue

I just installed miniforge-pypy3 on my windows (10) machine, added the scripts folder to my path, and started using mamba, when I got this mess of letters and special characters (see below). the actual use of mamba is not affected, but it's not really fun this way. this is in both powershell and cmd, run from windows terminal or directly.

is this a bug or did I do something wrong?

mamba_bug

Installed packages

# packages in environment at C:\miniforge-pypy3:
#
# Name                    Version                   Build  Channel
boltons                   23.0.0             pyhd8ed1ab_0    conda-forge
brotli-python             1.1.0            py39h3665ca7_0    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2023.7.22            h56e8100_0    conda-forge
certifi                   2023.7.22          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1           py39h68485e5_3    conda-forge
charset-normalizer        3.2.0              pyhd8ed1ab_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
conda                     23.3.1           py39h0d475fb_0    conda-forge
conda-libmamba-solver     23.3.0             pyhd8ed1ab_0    conda-forge
conda-package-handling    2.2.0              pyh38be061_0    conda-forge
conda-package-streaming   0.9.0              pyhd8ed1ab_0    conda-forge
cryptography              41.0.3           py39h1253b8f_0    conda-forge
expat                     2.5.0                h63175ca_1    conda-forge
fmt                       9.1.0                h181d51b_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
jsonpatch                 1.32               pyhd8ed1ab_0    conda-forge
jsonpointer               2.0                        py_0    conda-forge
krb5                      1.21.2               heb0366b_0    conda-forge
libarchive                3.6.2                h6f8411a_1    conda-forge
libcurl                   8.2.1                hd5e4a3a_0    conda-forge
libexpat                  2.5.0                h63175ca_1    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libiconv                  1.17                 h8ffe710_0    conda-forge
libmamba                  1.4.2                h8a7d157_0    conda-forge
libmambapy                1.4.2            py39h167e78d_0    conda-forge
libsolv                   0.7.24               h12be248_3    conda-forge
libsqlite                 3.43.0               hcfcfb64_0    conda-forge
libssh2                   1.11.0               h7dfc565_0    conda-forge
libxml2                   2.11.5               hc3477c8_1    conda-forge
libzlib                   1.2.13               hcfcfb64_5    conda-forge
lz4-c                     1.9.4                hcfcfb64_0    conda-forge
lzo                       2.10              he774522_1000    conda-forge
mamba                     1.4.2            py39h749ce95_0    conda-forge
menuinst                  1.4.19           py39h0d475fb_1    conda-forge
miniforge_console_shortcut 1.0                  h57928b3_0    conda-forge
openssl                   3.1.2                hcfcfb64_0    conda-forge
packaging                 23.1               pyhd8ed1ab_0    conda-forge
pip                       23.2.1             pyhd8ed1ab_0    conda-forge
pluggy                    1.3.0              pyhd8ed1ab_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.4            py39h7a188e9_1    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pyopenssl                 23.2.0             pyhd8ed1ab_1    conda-forge
pypy3.9                   7.3.12               h994e1e7_4    conda-forge
pysocks                   1.7.1              pyh0701188_6    conda-forge
python                    3.9.17                0_73_pypy    conda-forge
python_abi                3.9               3_pypy39_pp73    conda-forge
reproc                    14.2.4               hcfcfb64_0    conda-forge
reproc-cpp                14.2.4               h63175ca_0    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
ruamel.yaml               0.17.32          py39h7a188e9_0    conda-forge
ruamel.yaml.clib          0.2.7            py39h7a188e9_1    conda-forge
setuptools                68.1.2             pyhd8ed1ab_0    conda-forge
sqlite                    3.43.0               hcfcfb64_0    conda-forge
tk                        8.6.12               h8ffe710_0    conda-forge
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge
tqdm                      4.66.1             pyhd8ed1ab_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
ucrt                      10.0.22621.0         h57928b3_0    conda-forge
urllib3                   2.0.4              pyhd8ed1ab_0    conda-forge
vc                        14.3                h64f974e_17    conda-forge
vc14_runtime              14.36.32532         hfdfe4a8_17    conda-forge
vs2015_runtime            14.36.32532         h05e6639_17    conda-forge
wheel                     0.41.2             pyhd8ed1ab_0    conda-forge
win_inet_pton             1.1.0              pyhd8ed1ab_6    conda-forge
xz                        5.2.6                h8d14728_0    conda-forge
yaml-cpp                  0.7.0                h63175ca_2    conda-forge
zlib                      1.2.13               hcfcfb64_5    conda-forge
zstandard                 0.19.0           py39h7a188e9_0    conda-forge
zstd                      1.5.5                h12be248_0    conda-forge

Environment info

(base) PS C:\Users\mluerig> conda info

     active environment : base
    active env location : C:\miniforge-pypy3
            shell level : 1
       user config file : C:\Users\mluerig\.condarc
 populated config files : C:\miniforge-pypy3\.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.9.17.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.0=0
                          __win=0=0
       base environment : C:\miniforge-pypy3  (read only)
      conda av data dir : C:\miniforge-pypy3\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : C:\miniforge-pypy3\pkgs
                          C:\Users\mluerig\.conda\pkgs
                          C:\Users\mluerig\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\mluerig\.conda\envs
                          C:\miniforge-pypy3\envs
                          C:\Users\mluerig\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.3.1 requests/2.31.0 PyPy/3.9.17 Windows/10 Windows/10.0.19044
          administrator : False
             netrc file : None
           offline mode : False
valeriupredoi commented 9 months ago

salad :rofl: Check your locale and see what encoding you got, I bet it's something to do with the default encoding that mamba uses (I believe it's bogstandard UTF-8) not being compatible with your locale (or the other way around) - BTW am just a passer-by, I am not a Miniforge dev :smiley: