Zstandard could not be imported. Running without .conda support

I am running an install of miniconda on an M1 Mac that was installed via brew. The environment seems to work just find, but when running conda env list, I get the following warnings before it lists the environments.

/opt/homebrew/Caskroom/miniconda/base/lib/python3.12/site-packages/conda_package_streaming/package_streaming.py:25: UserWarning: zstandard could not be imported. Running without .conda support.
  warnings.warn("zstandard could not be imported. Running without .conda support.")
/opt/homebrew/Caskroom/miniconda/base/lib/python3.12/site-packages/conda_package_handling/api.py:29: UserWarning: Install zstandard Python bindings for .conda support
  _warnings.warn("Install zstandard Python bindings for .conda support")

I have updated the zstandard modules as well as conda and the conda. I could not find any recent information on these warnings that were relevant.

Type conda list -n base to see what’s going on with zstandard and zstd packages. Report the output here.

1 Like

Sorry for the delay. I lost the bubble on this one. Runing conda list -n base returns the following:

zstandard             0.22.0          py312h1a4646a_0  
zstd                      1.5.5              hd90d995_2

I have miniconda installed via brew and python 3.12.4 is running in the base conda environment.

Adding to this, I updated miniconda with brew (miniconda: py312_24.7.1-0). I then installed zstd in the base environment using pip (which was not present after upgrade). After restarting the terminal, the output of conda list -n base is now the following:

zstandard                 0.22.0          py312h1a4646a_0  
zstd                      1.5.5.1                  pypi_0    pypi

Ok, I did one more thing… that seemed to fix the problem. While inside the conda base environment, I did the following:

pip install --upgrade --force-reinstall zstandard
pip install --upgrade --force-reinstall zstd

and then restarted the terminal. At this point, the error went away and it appears to be working. conda list -n base returns the following:

zstandard                 0.23.0                   pypi_0    pypi
zstd                      1.5.5.1                  pypi_0    pypi