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

PyPI Installation with issue with nmslib #1961

Closed
natek-1 opened this issue Aug 14, 2024 · 2 comments
Closed

PyPI Installation with issue with nmslib #1961

natek-1 opened this issue Aug 14, 2024 · 2 comments

Comments

@natek-1
Copy link
Contributor

natek-1 commented Aug 14, 2024

I am working using an M1 Pro MacBook Pro, however when following the installation instructions using python 3.10, I get an error when doing the following command:

conda install -c conda-forge lightgbm nmslib -y 

Here is what the error looks like

Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - nmslib

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

I tried various ways to install nmslib. However even if those methods work It still creates an error when running the following command

pip install -e .
@lintool
Copy link
Member

lintool commented Aug 17, 2024

Interesting... recent updates may have rendered our docs out of date. Looking at: https://anaconda.org/conda-forge/nmslib

Doesn't seem to provide arm architecture for osx (anymore)?!

However, nmslib still seems to be available here:
https://anaconda.org/anaconda/nmslib

@natek-1 try installing from there?

@natek-1
Copy link
Contributor Author

natek-1 commented Aug 18, 2024

It seems to work.
For clarification I used the following cmd

conda install anaconda::nmslib -y

thank you @lintool !

@natek-1 natek-1 closed this as completed Aug 18, 2024
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

2 participants