You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/bin/conda-lock", line 10, in <module>
sys.exit(main())
^^^^^^
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/lib/python3.12/site-packages/conda_lock/conda_lock.py", line 1398, in lock
lock_func(
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/lib/python3.12/site-packages/conda_lock/conda_lock.py", line 1103, in run_lock
_conda_exe = determine_conda_executable(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/benjamin/miniconda3/envs/tmp-conda-lock/lib/python3.12/site-packages/conda_lock/invoke_conda.py", line 60, in determine_conda_executable
if determine_micromamba_version(str(candidate)) < LooseVersion("0.17"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'Version' and 'LooseVersion'
Conda Info
active environment : tmp-conda-lock
active env location : /home/benjamin/miniconda3/envs/tmp-conda-lock
shell level : 4
user config file : /home/benjamin/.condarc
populated config files : /home/benjamin/.condarc
conda version : 23.1.0
conda-build version : 3.21.9
python version : 3.9.13.final.0
virtual packages : __archspec=1=x86_64
__glibc=2.35=0
__linux=6.5.0=0
__unix=0=0
base environment : /home/benjamin/miniconda3 (writable)
conda av data dir : /home/benjamin/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/benjamin/miniconda3/pkgs
/home/benjamin/.conda/pkgs
envs directories : /home/benjamin/miniconda3/envs
/home/benjamin/.conda/envs
platform : linux-64
user-agent : conda/23.1.0 requests/2.31.0 CPython/3.9.13 Linux/6.5.0-15-generic ubuntu/22.04.3 glibc/2.35 solver/libmamba conda-libmamba-solver/22.8.1 libmambapy/1.0.0
UID:GID : 1000:1000
netrc file : None
offline mode : False
The bug is caused by a recent change from LooseVersion to Version in ensureconda: conda-incubator/ensureconda#22 which was released with ensureconda 1.4.4.
The text was updated successfully, but these errors were encountered:
Checklist
What happened?
If I run
I get the error
Conda Info
Conda Config
Conda list
Additional Context
The bug is caused by a recent change from
LooseVersion
toVersion
inensureconda
: conda-incubator/ensureconda#22 which was released with ensureconda 1.4.4.The text was updated successfully, but these errors were encountered: