Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASV Does not work with latest versions of conda #1412

Closed
adam2392 opened this issue Jun 25, 2024 · 3 comments
Closed

ASV Does not work with latest versions of conda #1412

adam2392 opened this issue Jun 25, 2024 · 3 comments

Comments

@adam2392
Copy link

I am running the following ASV command and get the following error:

(sklearn) (base) adam2392@arm64-apple-darwin20 asv_benchmarks % asv setup --verbose 
Couldn't load asv.plugins._mamba_helpers because
No module named 'libmambapy'
· Creating environments
·· Creating conda environment for conda-py3.12-cython3.0.10-joblib1.3.2-numpy1.25.2-pandas2.1.0-scipy1.11.2-threadpoolctl3.2.0
·· Running '/Users/adam2392/miniforge3/bin/conda env create -f /var/folders/6_/sl83qtkd68x3_mvfys07_6qm0000gn/T/tmpcrx8xnai.yml -p /Users/adam2392/Documents/scikit-learn/asv_benchmarks/env/c6989ba2defdc48744a49c5e50663801 --force'
   OUTPUT -------->
   usage: conda [-h] [-v] [--no-plugins] [-V] COMMAND ...
   conda: error: unrecognized arguments: --force
(sklearn) (base) adam2392@arm64-apple-darwin20 asv_benchmarks % conda --version
conda 24.5.0
(sklearn) (base) adam2392@arm64-apple-darwin20 asv_benchmarks % asv --version
Couldn't load asv.plugins._mamba_helpers because
No module named 'libmambapy'
asv 0.6.3

An unrelated point, but I seem to be getting that the libmambapy is not found even though I have mamba installed.

@HaoZeke
Copy link
Member

HaoZeke commented Jul 1, 2024

Closing as fixed in #1403

(not released yet though)

Also for libmambapy see #1390 (comment)

@flying-sheep
Copy link

when will this be released?

@nawtrey
Copy link

nawtrey commented Aug 12, 2024

I came here to report the same thing. I spent a while chasing issues, and eventually came across conda/conda#13704. After downgrading my conda version to the last version that supports --force (i.e. using conda install conda=24.1.2) I was able to run asv check successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants