which completed without error. However, when I try to run smithy, I keep hitting the following error:
$ conda smithy ci-skeleton pmix
Traceback (most recent call last):
File "/opt/anaconda3/bin/conda-smithy", line 6, in <module>
from conda_smithy.cli import main
File "/opt/anaconda3/lib/python3.11/site-packages/conda_smithy/cli.py", line 13, in <module>
import conda_build.api
File "/opt/anaconda3/lib/python3.11/site-packages/conda_build/api.py", line 21, in <module>
from .config import DEFAULT_PREFIX_LENGTH as _prefix_length
File "/opt/anaconda3/lib/python3.11/site-packages/conda_build/config.py", line 18, in <module>
from .conda_interface import (
File "/opt/anaconda3/lib/python3.11/site-packages/conda_build/conda_interface.py", line 11, in <module>
from conda.auxlib.packaging import ( # noqa: F401
ModuleNotFoundError: No module named 'conda.auxlib.packaging'
Doesn't matter what smithy command I use - always the same error. I have been unable to find anywhere that I can install the missing package.
Probably something dumb I've done, but I could use a pointer!
Installed packages
$ conda list
# packages in environment at /opt/anaconda3/envs/condaenv:
#
# Name Version Build Channel
Environment info
$ conda info
active environment : condaenv
active env location : /opt/anaconda3/envs/condaenv
shell level : 2
user config file : /Users/rhc/.condarc
populated config files : /Users/rhc/.condarc
conda version : 24.3.0
conda-build version : 24.1.2
python version : 3.11.8.final.0
solver : libmamba (default)
virtual packages : __archspec=1=m1
__conda=24.3.0=0
__osx=14.4.1=0
__unix=0=0
base environment : /opt/anaconda3 (writable)
conda av data dir : /opt/anaconda3/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/osx-arm64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-arm64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /opt/anaconda3/pkgs
/Users/rhc/.conda/pkgs
envs directories : /opt/anaconda3/envs
/Users/rhc/.conda/envs
platform : osx-arm64
user-agent : conda/24.3.0 requests/2.31.0 CPython/3.11.8 Darwin/23.4.0 OSX/14.4.1 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.6 aau/0.4.3 c/2x41voVhcC66KadZBRxqAA s/6BVZkSimYMg4Dn-tQ7yIVg e/VxtgPFvXHwT-UZjwZjJ5Jg
UID:GID : 501:20
netrc file : None
offline mode : False
Solution to issue cannot be found in the documentation.
Issue
I installed
conda
, and then did:which completed without error. However, when I try to run
smithy
, I keep hitting the following error:Doesn't matter what
smithy
command I use - always the same error. I have been unable to find anywhere that I can install the missing package.Probably something dumb I've done, but I could use a pointer!
Installed packages
Environment info